calamari.exceptions.AmbiguousColumnError#
- exception calamari.exceptions.AmbiguousColumnError#
Several columns could satisfy one accessor, and they are not the same measurement.
Some accessors span alternative spellings of a single quantity – MPMS3’s
Magnetic Fieldcan be recorded in different units for one quantity written two ways, so whichever a file uses is simply the answer. The moment is different:Moment(VSM mode) andDC Moment Free Ctr(DC scan) are alternative measurements, made by different techniques with different systematics, and a sequence can switch between them or alternate row by row.When more than one such column carries data, picking one by priority would return part of the file and leave the rest as
NaN– indistinguishable from points the instrument never recorded, so the loss is invisible. This is raised instead, and the message names the candidates and how to choose between them (seecalamari.measurement.Measurement.with_moment()).