grogupy._core.fit_exchange_tensor
- grogupy._core.fit_exchange_tensor(energies: ndarray[Any, dtype[_ScalarType_co]], ref_xcf: list[dict]) ndarray[Any, dtype[_ScalarType_co]][source]
Fits the exchange tensor to the energies.
It uses a fitting method to calculate the exchange 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
- JNDArray
Complete exchange tensor