DMCpy is a software package designed for reduction of neutron powder and single crystal diffraction data from DMC at the Paul Scherrer Institute. This instrument a combined powder and single-crystal diffractometer located at SINQ, Villigen, Switzerland. This software package covers conversion and data analysis both neutron powder measurements as well as single crystal experiments. Through DMCpy, users can carry out initial conversions and normalizations of the data and perform data analysis through cuts and integration methods.
For the installation, it is recommended to create either a virtual python environment (e.g. through venv or conda) and then install the package through the Python Package Index (PyPI) by issuing
pip install DMCpy
or
python3 -m pip install DMCpy
This will install the software within the environment allowing data analysis of the DMC data structures. Further details are found in our documentation
NOTE: For neutron powder experiments, the pre-installed DMCpy version on the instrument computer is sufficient to convert, calibrate, and extract powder patterns to be used in crystallography software (like FullProf, Jana, etc.)
A series of tutorials and explanations of features have been prepared for DMCpy and is available through our ReadTheDocs page. Here, both an introduction to the neutron instrument as well as the most used analysis methods are presented.
To contribute or report bugs or suggestions, please visit the issues and/or pull requests. Before laying out a full-blown pull request, please contact the DMCpy maintainers for a expectation clarification discussion.
For a direct communications means please send an E-Mail to MJOLNIRPackage or contact the instrument responsibles for the DMC instrument.