Skip to main content

Calamari logo

Calamari

Python tools for analysing SQUID magnetometry data.

Calamari loads DC, VSM and AC measurements exported by Quantum Design MPMS 3 SQUID magnetometers. It supports cataloguing and selecting measurements, unit conversion and normalisation, repeat aggregation, model fitting and transition-candidate detection. Plotting tools present measurements and analysis results using matplotlib, with composable figures and journal styles.

Documentation · Releases · Issues

What you can do

  • Load measurements and catalogue a directory of runs, selecting the files for your analysis.
  • Convert moments and susceptibilities using explicit specimen facts and units.
  • Fit Curie–Weiss and magnetisation models, inspect uncertainties and compare fitting ranges.
  • Assess transition candidates and assemble selected points into H–T phase diagrams.
  • Combine repeat measurements and export figures with labelled quantities and journal styles.

Installation

Calamari is tested with Python 3.10–3.13. Install from a complete Git checkout:

git clone https://github.com/BenHuddart/calamari.git
cd calamari
python -m pip install .

Use a complete Git checkout with its tags. Builds derive the version from Git; untagged checkouts report a development version. Install again after changing revisions to refresh the recorded version. Use GitHub source downloads only for release tags.

Getting started

Load an MPMS 3 export and inspect its measurement types, ranges and recorded metadata:

import calamari

measurement = calamari.load("measurement.dat")
print(measurement.summary())

Follow the user guide for loading, selection, sample facts, analysis and plotting. The API reference documents individual operations and their units, assumptions and uncertainty conventions.

Development disclosure

Generative AI tools, including OpenAI Codex and Anthropic's Claude Code, were used extensively to generate and revise code, tests, documentation and development tooling, and to assist with code review. Benjamin M. Huddart directed the scientific requirements and development decisions and retains responsibility for the released software. Validation includes automated tests, independent numerical reference checks and continuous integration.

Citation and support

If you use Calamari in research, use the citation metadata in CITATION.cff and record the software version or commit with your analysis.

Report a problem or request a feature. Calamari is available under the MIT licence.

Contributions are welcome; see Contributing.

Calamari is an independent project and is not affiliated with or endorsed by Quantum Design.

Metadata

Release files for calamari-magnetometry 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for calamari-magnetometry 0.5.0
File Size Uploaded Provenance Actions
calamari_magnetometry-0.5.0.tar.gz 574.0 kB With provenance Details for calamari_magnetometry-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for calamari-magnetometry 0.5.0
File Interpreter ABI Platform Actions
calamari_magnetometry-0.5.0-py3-none-any.whl Python 3 none any Details for calamari_magnetometry-0.5.0-py3-none-any.whl

Total release size: 912.3 kB

Release files / calamari_magnetometry-0.5.0.tar.gz

Download URL calamari_magnetometry-0.5.0.tar.gz
Size 574.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7d82da4a456710ce7f08b50bef1f1291cdd05e53ca7f017c3528962cecba7c55
BLAKE2b-256 checksum
How to use checksums
5e6e057bda33328e9c748a266bbbe831142d39725f9ab67bb2d9fbf0aacb1f54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / calamari_magnetometry-0.5.0-py3-none-any.whl

Download URL calamari_magnetometry-0.5.0-py3-none-any.whl
Size 338.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
717f831d8646de6edd725c8bda7c55d1236432e75077cb693c6f1d91e81f693a
BLAKE2b-256 checksum
How to use checksums
fefd5166a4bd3dc6d00a2b94d0786b380fd718c7a886b2058485ed0ac6870b9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Security for calamari-magnetometry 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for calamari_magnetometry-0.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page