grogupy.physics.fit_anisotropy_tensor
- grogupy.physics.fit_anisotropy_tensor(energies: ndarray[Any, dtype[_ScalarType_co]], ref_xcf: list[dict]) ndarray[Any, dtype[_ScalarType_co]][source]
Fits the anisotropy tensor to the energies.
It uses a fitting method to calculate the anisotropy tensor from the reference directions and its different representations.
Parameters
- energiesNDArray
Energies upon rotations
- ref_xcflist[dict]
The reference directions containing the orientation and perpendicular directions
Returns
- KNDArray
Elements of the anisotropy tensor