coord
#
- biotite.structure.coord(item)[source]#
Get the atom coordinates of the given array.
This may be directly and
Atom
,AtomArray
orAtomArrayStack
or alternatively an (n x 3) or (m x n x 3)ndarray
containing the coordinates.- Parameters:
- itemAtom or AtomArray or AtomArrayStack or ndarray
Returns the
coord
attribute, if item is anAtom
,AtomArray
orAtomArrayStack
. Directly returns the input, if item is andarray
.
- Returns:
- coordndarray
Atom coordinates.