sknano.core.atoms.ForceAtom.rezero

ForceAtom.rezero(epsilon=1e-10)[source][source]

Re-zero position vector components.

Set position vector components with absolute value less than epsilon to zero.

Parameters:

epsilon : float

smallest allowed absolute value of any \(x,y,z\) component.