pyxtal_ff.descriptors.SO3¶
-
class
pyxtal_ff.descriptors.SO3.SO3(nmax=3, lmax=3, rcut=3.5, alpha=2.0, derivative=True, stress=False, cutoff_function='cosine', weight_on=False, primitive=False)[source]¶ Bases:
objectA class to generate the SO3 power spectrum components based off of the Gaussian atomic neighbor density function defined in “On Representing Atomic Environments”.
Parameters: - nmax – int, degree of radial expansion
- lmax – int, degree of spherical harmonic expansion
- rcut – float, cutoff radius for neighbor calculation
- alpha – float, gaussian width parameter
- derivative – bool, whether to calculate the gradient of not
- weight_on – bool, if True, the neighbors with different type will be counted as negative
- primitive – bool, use the asePrimitiveNeighborList
-
alpha¶
-
build_neighbor_list(atom_ids=None)[source]¶ Builds a neighborlist for the calculation of bispectrum components for a given ASE atoms object given in the calculate method.
-
calculate(atoms, atom_ids=None)[source]¶ Calculates the SO(3) power spectrum components of the smoothened atomic neighbor density function for given nmax, lmax, rcut, and alpha.
Parameters: - atoms – an ASE atoms object corresponding to the desired atomic arrangement
- backend – string, specifies the method to compute the neighborlist elements, either ASE or pymatgen
-
cutoff_function¶
-
derivative¶
-
lmax¶
-
nmax¶
-
rcut¶
-
stress¶