dynsight.soap.fill_soap_vector_from_dscribe¶
- dynsight.soap.fill_soap_vector_from_dscribe(soapfromdscribe, lmax=8, nmax=8)[source]¶
Return the SOAP power spectrum from dscribe results.
Author: Matteo Becchi
- Parameters:
- Returns:
The full SOAP spectrum, with the symmetric part explicitly stored.
- Return type:
NDArray[np.float64]
Example
import numpy as np import MDAnalysis from dynsight.soap import ( saponify_trajectory, fill_soap_vector_from_dscribe, ) univ = MDAnalysis.Universe(path / "trajectory.xyz") cutoff = 2.0 soap = saponify_trajectory(univ, cutoff, soap_respectpbc=False) full_soap = fill_soap_vector_from_dscribe(soap)