calamari.measurement#

Measurements with explicit quantities, units and scientific choices.

Loaders preserve the parsed table and metadata. Accessors resolve exact column base names and unit suffixes for MPMS3 DC, VSM and AC measurements. Selection and moment choice derive new views; caller-owned tables remain accessible. See docs/USER_GUIDE.md for supported exports and docs/METHODS.md for conversions.

Module attributes

SCAN_T_TOL_K

Temperature span (K) above which a run is treated as a temperature sweep rather than a nominally isothermal measurement.

SCAN_H_TOL_OE

Field span (Oe) above which a run is treated as a field sweep rather than a nominally constant-field measurement.

HOUSEKEEPING

Label for a row that is housekeeping rather than a measurement.

FAMILY_ORDER

Precedence for the composite measurement_type label of a file holding more than one family: 'VSM+AC', never 'AC+VSM'.

Functions

row_families

Classify each row of data as 'VSM', 'DC', 'AC', HOUSEKEEPING, or 'unknown'.

Classes

Measurement

A single parsed magnetometry measurement file.