biotite.structure.coord

biotite.structure.coord(item)[source]

Get the atom coordinates of the given array.

This may be directly and Atom, AtomArray or AtomArrayStack 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 an Atom, AtomArray or AtomArrayStack. Directly returns the input, if item is a ndarray.

Returns
coordndarray

Atom coordinates.