sknano.core.crystallography.Crystal3DLattice.wrap_cartesian_coordinate

Crystal3DLattice.wrap_cartesian_coordinate(p, pbc=None)[source]

Wrap cartesian coordinate to lie within unit cell.

Parameters:p : array_like
Returns:ndarray