Skip to main content

Build Status Codecov

pymuon-suite

Collection of scripts and utilities for muon spectroscopy.

Installation

Requires Python 3.10+. Install with pip or conda:

pip install pymuonsuite

conda install pymuonsuite

If you plan to read CASTEP .phonon files, you will also need to install Euphonic:

pip install euphonic

conda install euphonic

Help with Euphonic installation can be found in the Euphonic documentation.

spglib build failed during pip install

On some platforms, additional tools are needed to build the spglib Python module when installing via pip. On Windows, you may need to install Microsoft C++ Build Tools; on Linux you may need to apt-get install python-dev or yum install python-devel according to your distribution. This should not be necessary if installing via conda, and so we recommend using conda if you want to avoid installing these tools.

Further help with Spglib installation can be found in the Spglib documentation.

Command line scripts

The following is a list of currently supported command line scripts. For any of them, use <script> --help to see usage information.

  • pm-muairss: generates a number of random muon structures for AIRSS optimisation using Poisson spheres distribution and different calculators, as well as carries out their clustering analysis after the calculations have been done. Usage is pm-muairss <structure file> <parameter file>, with the additional option -t w when one desires to generate the structures instead of analysing the results. This is done to help avoid overwriting one's results by mistake;
  • pm-muairss-gen: alias for pm-muairss with the -t w option on;
  • pm-uep-opt: Unperturbed Electrostatic Potential optimisation for a single muon in a unit cell; it's used as pm-uep-opt <parameter file>;
  • pm-uep-plot: Unperturbed Electrostatic Potential plotting for a given unit cell and specific lines or planes along it; it's used as pm-uep-plot <parameter file>;
  • pm-symmetry: analyses the symmetry of a structure with spglib and identifies the Wyckoff points, which ones are occupied, and which ones can be uniquely identified as being extrema rather than saddle points, thus providing some candidates for stopping sites in crystals; it's used as pm-symmetry <structure file>;
  • pm-asephonons: compute phonons for the given structure using ASE and DFTB+;
  • pm-nq: generates input files for quantum effects using a phonon approximation or analyses the results (work in progress)

For more in-depth information about each tool and their usage, check the Wiki.

Metadata

Release files for PyMuonSuite 0.4.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 PyMuonSuite 0.4.0
File Size Uploaded
pymuonsuite-0.4.0.tar.gz 20.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for PyMuonSuite 0.4.0
File Interpreter ABI Platform
pymuonsuite-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 40.8 MB

Release files / pymuonsuite-0.4.0.tar.gz

Download URL pymuonsuite-0.4.0.tar.gz
Size 20.2 MB
Tags Source
SHA-256 checksum
How to use checksums
a86aad9606dbc001d2ff0dcfbd38a35cec6dbb4b38f362be3520944536b366d7
BLAKE2b-256 checksum
How to use checksums
8fbce217ce95f88401b29e1fbecbb549aeee353f026369eb21db8b5aa3b44cc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Release files / pymuonsuite-0.4.0-py3-none-any.whl

Download URL pymuonsuite-0.4.0-py3-none-any.whl
Size 20.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
7829637cd722159dd8a7115196d8fed4acfac57448d1b4eb19dc0225b35388f4
BLAKE2b-256 checksum
How to use checksums
eefbe767de01fdaacabb78c6885a7043b159a83e26a77b428d5dd33f9270c4c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.1

2 release files

0.2.0

2 release files

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