sknano.core.atoms.StructureAtoms.rezero_xyz

StructureAtoms.rezero_xyz(epsilon=1e-10)[source]

Rezero position vector components with absolute value less than epsilon.

Calls the XYZAtom.rezero_xyz method on each atom in self.

Parameters:

epsilon : float

values with absolute value less than epsilon are set to zero.