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#
Visualization of Watson-Crick base pairs
Visualization of Watson-Crick base pairs
Enumeration of alkane isomers
Docking a ligand to a receptor
Docking a ligand to a receptor