magmeas
Python module enabling the import and analysis of magnetic measurements.
| Description | Badge |
|---|---|
| Documentation | |
| Tests | |
| Releases | |
| License | |
| DOI |
Installation
Just install from PyPI:
pip install magmeas
Usage
There are three distinct classes that conveniently handle specific types of measurement data:
Sweep: general for all types of magnetometry measurementsMH_major: for major hysteresis loop measurementsMT: for M(T) measurements
Here is what each of them do at initialisation or automatically with a method:
Sweep |
MH_major |
MT |
|
|---|---|---|---|
| accept general measurement data | ✅ | ✅ | ✅ |
| import measurement data from Quantum Design .DAT file | ✅ | ✅ | ✅ |
| export measurement data to csv/yml/hdf5 | ✅ | ✅ | ✅ |
| plotting | ✅ | ✅ | ✅ |
| calculate properties | ❌ | ✅ $H_c$, $M_r$, $BH_{max}$, $H_k$, S, $M_s$ (optional) | ✅ $T_c$ |
Experimental support for Recoil-loop- and FORC-measurements is also provided in their respective classes.
All classes inherit from the EntityCollection class in mammos-entity, using its io functionality. In doing so, they can conveniently be added to a new EntityCollection, benefitting from the nested structure in these objects even for data export.
Plotting of the above highlighted classes is very flexible. Common keyword arguments used in matplotlibs functions can be used. Sweep-derived objects can either be plotted to pre-existing matplotlib figures and axes, or they dynamically generate new ones and return them for subsequent formatting.
Requires Python >= 3.11, < 3.15 due to dependencies
Metadata
Release files for magmeas 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| magmeas-0.6.0.tar.gz | 20.0 kB | Without provenance | Details for magmeas-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| magmeas-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for magmeas-0.6.0-py3-none-any.whl |
Total release size: 42.0 kB
Release files / magmeas-0.6.0.tar.gz
| Download URL | magmeas-0.6.0.tar.gz |
|---|---|
| Size | 20.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec1de9ae5e78adfcbe898bb11eb8f460203160c3793f9f8c064f49e2c40376e0
|
|
BLAKE2b-256 checksum How to use checksums |
f6341ed6ff09f645d2d0de28fc25d003d1a098e32645ca408c8caadedee2f5f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.10
|
Release files / magmeas-0.6.0-py3-none-any.whl
| Download URL | magmeas-0.6.0-py3-none-any.whl |
|---|---|
| Size | 22.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d118b76af3c2655d8a00c3c9e0ff83d211473a0adcdd368ef12e04606f5239d8
|
|
BLAKE2b-256 checksum How to use checksums |
53aa8c8b2ea8165cbbf33c25607f292dbbc9c51edea98e807ed8007332e39d5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.10
|
Security for magmeas 0.6.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.