Skip to main content

A suite of utilities for muon spectroscopy

Project description

Build Status Codecov

pymuon-suite

Collection of scripts and utilities for muon spectroscopy.

Installation

Requires Python 3.8+. 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyMuonSuite-0.3.0.tar.gz (20.2 MB view details)

Uploaded Source

Built Distribution

PyMuonSuite-0.3.0-py3-none-any.whl (20.6 MB view details)

Uploaded Python 3

File details

Details for the file PyMuonSuite-0.3.0.tar.gz.

File metadata

  • Download URL: PyMuonSuite-0.3.0.tar.gz
  • Upload date:
  • Size: 20.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.12

File hashes

Hashes for PyMuonSuite-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d6157f57b52ff64efd5758a86061d636193d797f4c11bdf917912bd32a049059
MD5 b819d9229ae1bbab83870023e48aaebc
BLAKE2b-256 2fc701b33067a56cdae8e6f850ef39cc36024dfa2af4deaac618ef5fbbf57d6d

See more details on using hashes here.

File details

Details for the file PyMuonSuite-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: PyMuonSuite-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 20.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.12

File hashes

Hashes for PyMuonSuite-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 abd6c6766f895c1b95100c7fcee68db4c3339172c1d005dc5be1593a2209cc3d
MD5 777d3c37e4e210180772b650783a3dd4
BLAKE2b-256 4517d12a333c2ec15d137baa769eb5ffaaabab1bb236f663d5dbbfedec6dd1e9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page