csaPotTools
index
csaPotTools.py

Tools to aid with the Chemical Shift Anisotropy potential term
 
the following functions aid in creating, manipulating and analyzing
csaPot.CSAPot potential terms.
 

 
Functions
       
CSA_analyze(potList)
perform analysis of csaPot.CSAPot terms and return nicely formatted
    summary
create_CSAPot(name, file=0, oTensor=0, sim=0)
create a csaPot.CSAPot with the given name.
    the optional arguments are
      file:    the filename of an csa assignment table.
      oTensor: a varTensor.VarTensor representing the orientational
               tensor. If this argument is omitted a a new one is created.
      sim:     the associated simulation.Simulation. It defaults to the
               current Simulation.
    
makeTable(rdc)
given a csaPot.CSAPot, generate the associated assignment 
    table. Return this as a string.
    

 
Data
        csaData = [('C', 'bond', '132', -40, 0, (23.300000000000001, 71.200000000000003, -94.5), 21652.099999999999), ('P', 'bisect', '123', 0, 0, (-99.329999999999998, 19.670000000000002, 79.670000000000002), 47965.099999999999), ('N', 'bond', '231', -20, 11, (62.799999999999997, -108.5, 45.700000000000003), 21652.099999999999)]