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

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.

normalize

Normalizes hysteresis to the saturation region.

optimized_faraday_correction

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

shift_branch

Shifts hysteresis branches relative to each other.