sknano.core.atoms.DipoleAtom.rezero

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

Re-zero dipole moment vector components.

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

Parameters:

epsilon : float

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