Skip to main content

MDANSE_GUI

MDANSE_GUI Python Module

This is the module containing the Graphical User Interface (GUI) of the Molecular Dynamics Analysis for Neutron Scattering Experiments (MDANSE) software package.

The GUI depends on the MDANSE package.

Quick start: installation

We recommend that you install MDANSE in a Python virtual environment. You can create a virtual environment named mdanse_env by typing

python3 -m venv mdanse_env

To activate your virtual environment, type

source mdanse_env/bin/activate

in a bash console, or

mdanse_env\Scripts\activate.bat

if you are using cmd.exe on Windows.

While your virtual environment is active, you can install MDANSE:

pip install MDANSE_GUI

and start the GUI by typing

mdanse_gui

If you are using a virtual environment in which you had installed MDANSE in the past, you can upgrade MDANSE to the current version by typing:

pip install --upgrade MDANSE

If you experience problems with the installation, you may want to upgrade pip

pip install --upgrade pip

and try again.

Please remember to activate your virtual environment when you start a new shell before you run mdanse_gui.

Additional installation options

MDANSE_GUI has optional dependencies, which are not installed unless they are requested by the user. It is possible to install all the optional dependencies by running

pip install mdanse_gui[all]

The alternative is to install specific dependencies individually. This is described in the subsections below.

pymixbox

An optional dependency, pymixbox can be installed to enable an alternative mechanism of colour mixing. It will be used in the MDANSE_GUI plotter when plotting a 2D data set as a series of 1D curves. The colours of consecutive curves will be generated from the initial and final colour values using pymixbox. (If pymixbox is not installed, the colours of intermediate curves will be generated by linear interpolation.)

To install MDANSE_GUI with pymixbox, replace the normal installation command with

pip install mdanse_gui[pymixbox]

pyshortcuts

Users who want to create a desktop shortcut and a start menu entry for MDANSE_GUI can install MDANSE_GUI with pyshortcuts. It can be done by replacing the normal installation command with

pip install mdanse_gui[shortcuts]

Once MDANSE_GUI and its dependencies have been installed, run the script

create_mdanse_link

to create a desktop icon and a start menu entry for MDANSE_GUI (or just one of the two, depending on the operating system you are running.)

Quick start: workflow

The typical workflow of MDANSE:

  1. Convert a trajectory from the file format generated by an MD simulation software into the MDANSE trajectory format,
  2. Load the converted trajectory into MDANSE,
  3. Perform an analysis,
  4. Check the results with the plotter.

Each one of these operations has its own dedicated tab in the GUI. The plotter consists of two tabs, one for selecting the data for plotting, and the other for viewing and customising the plot.

The most complete user documentation of MDANSE can be found on our Read the Docs page.

Other information, including tutorials, can be found in the MDANSE-Examples repository.

Citing MDANSE

If you used MDANSE in your research, please cite it according to the CITATION.cff file in the MDANSE GitHub repository. On GitHub, you can use the "cite this repository" link to generate the citation.

License

MDANSE_GUI is licensed under GPL-3.0. See LICENSE for more information.

Acknowledgements

The VTK-based 3D viewer was taken and adapted from another software project authored by Eric Pellegrini. We would like to thank Eric for making his code available.

Joining the project

MDANSE_GUI is currently maintained and developed by software developers from ISIS and ILL, but we are fully open to new collaborators who would like to contribute code, documentation, tutorials or usage examples. If you want to join the project contact:

Dr. Sanghamitra Mukhopadhyay (sanghamitra.mukhopadhyay@stfc.ac.uk)
ISIS Neutron and Muon Source
Rutherford Appleton Laboratory
Didcot, UK

Software Inquiries

You are welcome to use the issue tracker to submit ideas for extending the MDANSE code or to report problems you encountered. However, if you prefer to contact the MDANSE developers directly, you can send us a message:

MDANSE Help (MDANSE-help@stfc.ac.uk)

Metadata

Release files for MDANSE-GUI 2.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MDANSE-GUI 2.0.2
File Size Uploaded Provenance Actions
mdanse_gui-2.0.2.tar.gz 2.8 MB Without provenance Details for mdanse_gui-2.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for MDANSE-GUI 2.0.2
File Interpreter ABI Platform Actions
mdanse_gui-2.0.2-py3-none-any.whl Python 3 none any Details for mdanse_gui-2.0.2-py3-none-any.whl

Total release size: 5.6 MB

Release files / mdanse_gui-2.0.2.tar.gz

Download URL mdanse_gui-2.0.2.tar.gz
Size 2.8 MB
Tags Source
SHA-256 checksum
How to use checksums
761032397e4e21a07328bea711b3084828110b5d2dc8a07f18dc5551b07da311
BLAKE2b-256 checksum
How to use checksums
b8b19c81ec1739f5c2c27ab8a1b6dd07b8a4bfa90a060eca1554d39446f2bd23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / mdanse_gui-2.0.2-py3-none-any.whl

Download URL mdanse_gui-2.0.2-py3-none-any.whl
Size 2.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
826b34f1415a6e57ef20218d9037feac8fd9ffc3fa6d429e6688b7fd4a4049b3
BLAKE2b-256 checksum
How to use checksums
eef235c9cd2f11c1e7cd2aea209adc0b0facb1e2a7c74fd53d51ee3855ac71fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for MDANSE-GUI 2.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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