biotite.structure.centroid¶
- biotite.structure.centroid(atoms)[source]¶
Measure the centroid of a structure.
- Parameters
- atoms: ndarray or AtomArray or AtomArrayStack
The structures to determine the centroid from. Alternatively an ndarray containing the coordinates can be provided.
- Returns
- centroidfloat or ndarray
The centroid of the structure(s).
ndarray
is returned when anAtomArrayStack
is given (centroid for each model).
Gallery¶
Enumeration of alkane isomers
Docking biotin to streptavidin
Docking biotin to streptavidin
Visualization of Watson-Crick base pairs
Visualization of Watson-Crick base pairs