mujpy
A Python \(\mu\)SR data analysis based on classes, with a graphical interface designed for jupyter, released under the GPL-3 licence.
It aims at the power of musrfit with the user-friendly appearance of mulab.
Version 3.1. Main technical features:
a model built on two-letter bricks: mg, for Gaussian-damped cosine, ml for Lorentzian-damped cosine etc.
sequential fits by the same model, driven by a run list and a list of grouping dictionaries, for asymmetry definition
global fits by user-defined parameters assigned to model parameters in a json file
a mulab-like gui interface in jupyterlab that allows fit model and parameter editing, hopefully with a gentler learning curve than musrfit
direct standalone gui web interface by `voila`, included
Try mujpy!
on linux, or on Windows by lightweight WSL2 (~10GB of ubuntu-in-Windows). Follow simple installation instructions. Both os come with python, you only need to: create a venv python -m venv ~/.mujpy-env, activate it source ~/.mujpy-env/bin/activate, and invoke pip install mujpy. Now try your freshly installed mujpy from command line, to demonstrate its capabilities. Just type python -m mujpy.tests.tests and 16 fully automatic cases will popup, in order of growing complexity (find a description in the Tutorial).
There is also a GUI and its demos, see basic instructions on ReaTheDocs. Choice of jupyter notebook %matplotlib qt for popup plots, or %matplotlib widget for Log-tab side-by-side log+plot.
Please email bugs to the author.
Metadata
Release files for mujpy 3.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mujpy-3.1.2.tar.gz | 10.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mujpy-3.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.4 MB
Release files / mujpy-3.1.2.tar.gz
| Download URL | mujpy-3.1.2.tar.gz |
|---|---|
| Size | 10.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76e0a055c6c7cf5c6503f3b7b89344b354cb2eadd9f17504556dc87356ae2a8c
|
|
BLAKE2b-256 checksum How to use checksums |
0d2aa99c46c2e23ff534ee40ef4be9955f71d222ca0b3bfa3d09bb7d5aa3a8ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 30, 2026.
Transparency logRelease files / mujpy-3.1.2-py3-none-any.whl
| Download URL | mujpy-3.1.2-py3-none-any.whl |
|---|---|
| Size | 4.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c506563a83545cffc63afa02795b51fc5f7cad36fa47cffba96d943780632bd2
|
|
BLAKE2b-256 checksum How to use checksums |
35ea5fecdabc220479c4959de0edb07b279a133abeb29fc67fbddc2e56f1dbd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 30, 2026.
Transparency log