Speaker
Description
MuSpinSim is a Python software to simulate muon ($\mu$SR) experiments. In particular, it simulates the spin dynamics of a system of a muon plus other spins such as electrons and atomic nuclei. MuSpinSim can simulate various common experimental setups used in $\mu$SR, such as zero, transverse and longitudinal field experiments; and it can simulate $\mu$SR experiments that are resolved in time, field, or temperature. Furthermore, MuSpinSim can account for the effects of hyperfine, dipolar, quadrupolar and Zeeman couplings, as well as simulate quantum systems exchanging energy with the environment with the Lindblad master equation. Finally, MuSpinSim can be used to fit experimental $\mu$SR data with simulations that use all of the capabilities described above. The fittings can be run in parallel on multiple cores, which significantly reduces the computational cost of the most expensive tasks. In this work, we present the Python package MuSpinSim with all the utilities it provides to facilitate simulations of $\mu$SR experiments, demonstrate the effectiveness of the method with some chosen example systems and show a prototype application of MuonGalaxy, a web-based implementation of MuSpinSim that is based on the Galaxy platform.