Trees | Indices | Help |
|
---|
|
object --+ | GeomAnalyzerBase --+ | CenterOf
N.B.: The calculated center is an unwrapped coordinate.
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
|
@rtype: L{numpy.ndarray} of C{float}s @return: Circular mean as 1x3 array coordinate transformation: cartesian = triclinic * pbc.box (x, y, z) = (a, b, c) * pbc.box The calculation involves three steps: 1. Compute the approximate centroid using the circular mean 2. Unwrap all points with respect to the approximate centroid 3. Compute the weighted geometric center the usual way Details of the circular mean algorithm can be found at U{wiki page<https://en.wikipedia.org/wiki/Center_of_mass#Systems_with_periodic_boundary_conditions>} |
Result is (center, unwrapped-positions), where the first element is the unwrapped center, and the second element is a list of unwrapped positions of the selected atoms.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jan 25 01:17:52 2017 | http://epydoc.sourceforge.net |