agepy.mag.hysteresis

Functions for working with hysteresis measurement data.

Currently only includes Faraday correction via analytic optimization. Faraday correction based on measured data can be added on request.

Functions

curve_fit

Use non-linear least squares to fit a function, f, to data.

drift_correction

Corrects thermal drift.

faraday_correction

Performs a correction of the Faraday-effect via analytic optimization method.

linear_correction

Subtracts a linear fit to the saturation regions.

minimize

Minimization of scalar function of one or more variables.

minimize_scalar

Local minimization of scalar function of one variable.

normalize

rtype:

ndarray[Any, dtype[TypeVar(_ScalarType_co, bound= generic, covariant=True)]]

optimized_faraday_correction

Performs a correction of the Faraday-effect via analytic optimization method.

shift_branch

rtype:

ndarray[Any, dtype[TypeVar(_ScalarType_co, bound= generic, covariant=True)]]

Classes

NDArray

alias of ndarray[Any, dtype[_ScalarType_co]]