biotite.structure.Atom

class biotite.structure.Atom(coord, **kwargs)[source]

Bases: object

A representation of a single atom.

The coordinates an annotations can be accessed directly.

Parameters
coord: list or ndarray

the x, y and z coordinates

kwargs

atom annotations as key value pair

Examples

>>> atom = Atom([1,2,3], chain_id="A")
>>> atom.atom_name = "CA"
>>> print(atom.atom_name)
CA
>>> print(atom.coord)
[1. 2. 3.]
Attributes
{annot}scalar

Annotations for this atom.

coordndarray, dtype=float

ndarray containing the x, y and z coordinate of the atom.