llg3d.post.process¶
Post-processes a set of runs.
Extracts result data,
Plots the computed average magnetization against temperature,
Interpolates the computed points using a PCHIP interpolator,
Determines the Curie temperature as the value below which the magnetization drops under 0.1.
Classes
|
Handle magnetization data using the npz format. |
- class MagTempData(*files)[source]¶
Bases:
objectHandle magnetization data using the npz format.
Extracts result data,
Interpolates the computed points using a PCHIP interpolator,
Determines the Curie temperature as the value below which the magnetization drops under 0.1.
- Parameters:
*files (list[Path]) – Paths to the result .npz files
- n_interp = 200¶
number of interpolation points
- files: list[Path]¶
list of result files
- params: dict¶
common parameters of the runs
- temperature¶
temperatures from the runs
- m1_mean¶
mean magnetization
- interp¶
interpolated magnetization function
- temperature_interp¶
finer temperature grid for interpolation
- property T_Curie: float¶
Return the Curie temperature.
It is defined as the temperature at which the magnetization equals 0.1, found using a root-finding algorithm for precision.
- Returns:
Curie temperature
- Return type:
float
- Raises:
ValueError – If the magnetization never crosses 0.1 in the dataset