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