getting the center of mass of each part of a molecule

jladasky at itu.edu jladasky at itu.edu
Mon May 15 17:02:51 EDT 2017


The last line of your function already calculates a center of mass for all atoms.  

How can you separate out that calculation into its own (one-line) function?

How can you send just a subset of your data to that new function?



More information about the Python-list mailing list