get_fractional_coordinates

helper.get_fractional_coordinates(points, ase_atoms)

Find the fractional coordinates for a bunch of cartesian corrdinates in a box corresponding to an ase.atoms object

Parameters

Name Type Description Default
points numpy.array numpy array of shape (Npoints, 3) required
ase_atoms ase.atoms ASE atoms object for the box required

Returns

Name Type Description
numpy.array numpy array of fractional coordinates of shape (Npoints,3)