You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dseeliger edited this page Mar 31, 2015
·
1 revision
Classes and functions to handle topologies and itp file. Only tested for amber forcefields
class forcefield.Topology():
Constructors:
>>> top = Topology("topol.top")
>>> for atom in top.atoms: print atom.q, atom.atomtype # print charge and atomtype
>>> top.write_top("new.top") # output new topology