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_K is the Weiss temperature (positive for ferromagnetic correlations, negative for antiferromagnetic), C the Curie constant, and chi0 an optional temperature-independent background (e.g. diamagnetic core/Van Vleck contribution). Used both to build synthetic chi(T) data for calamari.fitting model-recovery tests and as example data for users prototyping a Curie-Weiss fit.

Parameters:
  • T_K (ArrayLike) – Temperature in Kelvin.

  • C (float) – Curie constant, in whatever units chi is wanted (e.g. emu K / Oe for a molar susceptibility).

  • theta_K (float) – Weiss temperature in Kelvin.

  • chi0 (float) – Temperature-independent offset. Default 0.

Return type:

ndarray

Returns:

numpy.ndarray – chi(T) evaluated at each T_K. Diverges at T_K == theta_K (not guarded – callers sweeping through theta should avoid the pole, as with any real Curie-Weiss fit).