calamari.simulate.curie_weiss_chi#
- calamari.simulate.curie_weiss_chi(T_K, C, theta_K, chi0=0.0)#
Curie-Weiss susceptibility chi(T) = C / (T - theta) + chi0.
Standard paramagnetic susceptibility law;
theta_Kis the Weiss temperature (positive for ferromagnetic correlations, negative for antiferromagnetic),Cthe Curie constant, andchi0an optional temperature-independent background (e.g. diamagnetic core/Van Vleck contribution). Used both to build syntheticchi(T)data forcalamari.fittingmodel-recovery tests and as example data for users prototyping a Curie-Weiss fit.- Parameters:
- Return type:
- Returns:
numpy.ndarray– chi(T) evaluated at eachT_K. Diverges atT_K == theta_K(not guarded – callers sweeping through theta should avoid the pole, as with any real Curie-Weiss fit).