muspinsim
MuSpinSim is a Python software meant to simulate muon spectroscopy experiments. In particular, it simulates the spin dynamics of a system of a muon plus other spins, namely electrons and atomic nuclei. It can simulate various common experimental setups and account for hyperfine, dipolar and quadrupolar couplings. It is also able to fit its simulations to experimental data, to find the optimal parameters that describe it.
Theory
The way MuSpinSim operates is quite simple, and based on the principles of similar software for NMR, in particular Simpson. A Hamiltonian of the system is built by combining the various terms specified in the input file; hyperfine, dipolar and quadrupolar terms are tied to the orientation of the 'crystallite' of the system we're observing, whereas muon polarization and applied external field are in an absolute reference frame (the one of the laboratory). The density matrix of the system is then made to evolve in time under this Hamiltonian, and the muon polarization is observed by standard quantum mechanical methods to compute expectation values. A slightly different approach is used when saving the integral of the expectation value, as in that case the integration is performed analytically to compute an "integral operator" whose expectation value is then computed.
Installation and Usage
For more in-depth information about how to install and use MuSpinSim as well as about how the theory behind it works, please check the official documentation.
Metadata
Release files for muspinsim 2.3.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 | |
|---|---|---|---|
| muspinsim-2.3.0.tar.gz | 199.3 kB | Details |
Built distributions (wheels)
Total release size: 8.6 MB
Release files / muspinsim-2.3.0.tar.gz
| Download URL | muspinsim-2.3.0.tar.gz |
|---|---|
| Size | 199.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f42bd948311b67cc1d715e7c46b04b1679e613b38e7ebd90b666a611f867158
|
|
BLAKE2b-256 checksum How to use checksums |
ee853ffb21106e19cdf5dd391f571a1d211b9d145d10e6e5191194c1434ba6f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Release files / muspinsim-2.3.0-cp311-cp311-win_amd64.whl
| Download URL | muspinsim-2.3.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 223.7 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
059a7e1e87b93dd71b8aac6804ccc749fd9bb06e2be0cbfafd299ccb4eb079b8
|
|
BLAKE2b-256 checksum How to use checksums |
5960a81dd0f86c2178d9ccc7b13c77b7171edfdc575a33c9bda5449b06948e24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Release files / muspinsim-2.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | muspinsim-2.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 708.9 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
4a7e6f1d1624861b8f4b990bc86465bb315c956e4255dcb28d77891d655627c4
|
|
BLAKE2b-256 checksum How to use checksums |
ee9c87379d0b062b0bf2b887ad695500beab9397ee36f1914f08aa2a0bb7d49c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Release files / muspinsim-2.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | muspinsim-2.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 714.7 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
2fad408d4c4261121ad8f6d130bcb3878ba637e7230050ea4b8644d74d6aa454
|
|
BLAKE2b-256 checksum How to use checksums |
f6e037efcf78296ba156b12a0c66655394f4fd94346af383d5b1789c2432f210
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Release files / muspinsim-2.3.0-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | muspinsim-2.3.0-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 236.0 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
13d939e62aa9e7639882432b61c10e4c199003b8dde26078929398f0b16cb9b1
|
|
BLAKE2b-256 checksum How to use checksums |
464c43c946be2d1920bedfd850d85898ad0cf408b4ade806a6c7b5209197b908
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Release files / muspinsim-2.3.0-cp311-cp311-macosx_10_9_x86_64.whl
| Download URL | muspinsim-2.3.0-cp311-cp311-macosx_10_9_x86_64.whl |
|---|---|
| Size | 237.2 kB |
| Tags | CPython 3.11 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
2d6d642ed10e3c599fa5203e1326d175b229c485e55a6be79c9ea5106f424d83
|
|
BLAKE2b-256 checksum How to use checksums |
b67e378def5f6260a215277ef05ec84d6bc8cbdcb7e0a2dc3b1d49239da1085b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Release files / muspinsim-2.3.0-cp310-cp310-win_amd64.whl
| Download URL | muspinsim-2.3.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 224.5 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
cf4372516b6f515ea57c9f55d30b53878c8ce66ebf28c5e2bd188d8fce222eab
|
|
BLAKE2b-256 checksum How to use checksums |
8d2d67d7339c56441269cb952c0261a54c73bdccfad2860280b9d1bb9ac2569c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Release files / muspinsim-2.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | muspinsim-2.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 693.5 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
3d6ac82566658174ce1c20a0b27dcbabb031bc727e6c58dd849a9906ae3d2dc8
|
|
BLAKE2b-256 checksum How to use checksums |
48758a9151ed4d6d72a88007d8b0e57eb07187bcc323e59a944cc42a55314e87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Release files / muspinsim-2.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | muspinsim-2.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 699.1 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
6a70bb88b949be1ed43ab8dd3608c48c0d83d49fbc35ed4e4f915d554661793a
|
|
BLAKE2b-256 checksum How to use checksums |
153dfd40a02e1fe35d70cec867ae1886979162c31b46be1670d03ef058a411c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Release files / muspinsim-2.3.0-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | muspinsim-2.3.0-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 236.8 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9733af2fe52caed28b0caead69d16ac3b7462957e07938b7363a5d2e6c23dbfe
|
|
BLAKE2b-256 checksum How to use checksums |
30979ad82516ddf8d74676ddc9b64bb1dcf3daf3c4861d24bfb8ea9969114f9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Release files / muspinsim-2.3.0-cp310-cp310-macosx_10_9_x86_64.whl
| Download URL | muspinsim-2.3.0-cp310-cp310-macosx_10_9_x86_64.whl |
|---|---|
| Size | 237.9 kB |
| Tags | CPython 3.10 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
d542dc3501bfa0208a5942742416e6c78d3ea19820bd8b3be9e574163bd331b0
|
|
BLAKE2b-256 checksum How to use checksums |
626335f2d7ba91017371fe0e2d5e3dc770fe03d8a29effa91449b3440e232c38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Release files / muspinsim-2.3.0-cp39-cp39-win_amd64.whl
| Download URL | muspinsim-2.3.0-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 224.5 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1d4f0c39316c998e44cee01d9a5cf492c6d35f44aec8ae7c3a2105313eae6936
|
|
BLAKE2b-256 checksum How to use checksums |
df1c0b91d0f536b5cfde2527c4c5e6e36116226660a99c81b42aec0b080ab939
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Release files / muspinsim-2.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | muspinsim-2.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 697.1 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
e6ff89a43a087257c6ea6216bcc95fe9dcf80999b331f4f924f8bbbe60698dbd
|
|
BLAKE2b-256 checksum How to use checksums |
7f4cefd93104b90006acdd53f255a00427de88c3f2f27a9cdd0d612dbf8b12a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Release files / muspinsim-2.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | muspinsim-2.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 704.4 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
cbf95a57f988d165cfe88ef991903ff608e47d957a0681cf2cfed8fdb935a4d0
|
|
BLAKE2b-256 checksum How to use checksums |
be965e3bf4d608ab9d2670572efd54453df8f9d7c48cf65aa50df75bd9d61b3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Release files / muspinsim-2.3.0-cp39-cp39-macosx_11_0_arm64.whl
| Download URL | muspinsim-2.3.0-cp39-cp39-macosx_11_0_arm64.whl |
|---|---|
| Size | 237.2 kB |
| Tags | CPython 3.9 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5c6b50cd55fe72e0e0d598e50a70ae1c2c1a5d1ea4ae365d8e906dc7954449c1
|
|
BLAKE2b-256 checksum How to use checksums |
80ecb7ccd9a08810658747dc69ac0770b9fe882e5a06b8c27b0074ac3de11161
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Release files / muspinsim-2.3.0-cp39-cp39-macosx_10_9_x86_64.whl
| Download URL | muspinsim-2.3.0-cp39-cp39-macosx_10_9_x86_64.whl |
|---|---|
| Size | 238.4 kB |
| Tags | CPython 3.9 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
e4a77e99d5a4aecf9e877245760e7b0aaf9d70dd0031f43a7079231cd85e91e7
|
|
BLAKE2b-256 checksum How to use checksums |
4cc4c15715d3ecc92388b3bd214c65e5916a9d41152d8ca9fd8864494f4a14cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Release files / muspinsim-2.3.0-cp38-cp38-win_amd64.whl
| Download URL | muspinsim-2.3.0-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 225.5 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
110c312d2245185f6e19b6fd3e4be129d69de820b3fad7777733d6960ece39ca
|
|
BLAKE2b-256 checksum How to use checksums |
1ecc610808aba3cf8c4250403b98597a195837b3c9230b7f3c6c00aa7868e022
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Release files / muspinsim-2.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | muspinsim-2.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 699.6 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
c9da033592e3cd743ba18d8e938e7100c9af17f276f20e159ffbefcd481e237b
|
|
BLAKE2b-256 checksum How to use checksums |
17ff880fdc2b90ffd43dde670f3a6fddaf845b90b19c21134311596c59128ab2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Release files / muspinsim-2.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | muspinsim-2.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 706.1 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
85d9ad2a32e3cacdb3e145b82f64b88690a681ba6ca8195419935bc92192400e
|
|
BLAKE2b-256 checksum How to use checksums |
ae220d314d5bd125b3ffaa0a4333d6191962aa12cae73867011983c9f9510457
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Release files / muspinsim-2.3.0-cp38-cp38-macosx_11_0_arm64.whl
| Download URL | muspinsim-2.3.0-cp38-cp38-macosx_11_0_arm64.whl |
|---|---|
| Size | 236.2 kB |
| Tags | CPython 3.8 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5a11089e22e7c5e92c8b45b844f37236f595fb074ee6ee56091d5e57575286ca
|
|
BLAKE2b-256 checksum How to use checksums |
7c3d82930226e372b69231c981f0ee12305f788032c0acd207133f133fbd39be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Release files / muspinsim-2.3.0-cp38-cp38-macosx_10_9_x86_64.whl
| Download URL | muspinsim-2.3.0-cp38-cp38-macosx_10_9_x86_64.whl |
|---|---|
| Size | 237.1 kB |
| Tags | CPython 3.8 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
96acaad5e05a28571a3b475cb203f18e451ea44201c0197855966508010248ec
|
|
BLAKE2b-256 checksum How to use checksums |
d91887f942a7f5b203ec9a2336e788a7f75255af9cf57532f497417c0202a8ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|