radtools.Crystal.get_atom_coordinates#
method
- Crystal.get_atom_coordinates(atom: Atom | str, R=(0, 0, 0), relative=False)[source]#
Getter for the atom coordinates.
- Parameters:
- atom
Atomor str :py:class`.Atom` object or atom`s name. If name, then it has to be unique among atoms of the crystal.
- R(3,) array-like, default (0, 0, 0)
Radius vector of the unit cell for atom2 (i,j,k).
- relativebool, default False
Whether to return relative coordinates.
- atom
- Returns:
- coordinates1 x 3 array
Coordinates of atom in the cell R in absolute coordinates.