Menu

Commit [r2666]  Maximize  Restore  History

Created functions for calculating the center of mass of the selected residues.

The function 'self.center_of_mass()' in the file 'generic_fns/pdb.py' has been created to calculate
the center of mass. All unselected residues are skipped to allow hybrid models, two fused runs of
non-overlapping residues, to be handled. Hence the center of mass will be biased!

The function 'self.atomic_mass()' has also been added to the file. This function returns the atomic
mass corresponding to the supplied element string.

bugman 2006-10-26

changed /branches/tensor_pdb/generic_fns/pdb.py
/branches/tensor_pdb/generic_fns/pdb.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.