-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #242 from ISISNeutronMuon/protos_diataxis
Documentation Review and Suggestions
- Loading branch information
Showing
47 changed files
with
8,270 additions
and
4,993 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
## Molecular Dynamics Analysis for Neutron Scattering Experiments | ||
|
||
MDANSE is a python application designed for computing neutron observables from molecular dynamics (MD) trajectories that can | ||
MDANSE is a Python application designed for computing neutron observables from molecular dynamics (MD) trajectories. The results can | ||
be directly compared with neutron scattering experiments, particularly inelastic and quasi-elastic neutron scattering | ||
spectroscopies. | ||
|
||
|
@@ -22,12 +22,22 @@ The current version of MDANSE is currently still at the _alpha_ stage. Once the | |
|
||
The untested version of MDANSE can be downloaded from GitHub Actions as a Python wheel. There is one wheel for the main code ('MDANSE'), platform depenedent, and another for the GUI ('MDANSE_GUI'). Once downloaded, they can be installed by typing `pip install MDANSE-*.whl`. The GUI script can be run using the `mdanse_gui` command (`mdanse_gui.exe` on windows). | ||
|
||
The typical workflow will look as follows: | ||
As an alternative, it is possible to install MDANSE directly from the GitHub repository by typing | ||
|
||
1. Convert a trajectory from the file format generated by an MD simulation software into a NetCDF format (File>Trajectory conveters) | ||
2. Load the converted trajectory into MDANSE (File>Load data) | ||
3. Perform an analysis of choice (through the Plugins panel) | ||
4. Check the results with the plotter | ||
python3 -m pip install "git+https://github.com/ISISNeutronMuon/MDANSE@protos#egg=MDANSE&subdirectory=MDANSE" | ||
|
||
for the main part of the code, and | ||
|
||
python3 -m pip install "git+https://github.com/ISISNeutronMuon/MDANSE@protos#egg=MDANSE_GUI&subdirectory=MDANSE_GUI" | ||
|
||
for the GUI. | ||
|
||
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. | ||
|
||
|
||
The most complete user documentation of MDANSE can be found on [our Read the Docs page](https://mdanse.readthedocs.io/en/protos). At the same time, it is still possible to access the original **[MDANSE User Guide](https://epubs.stfc.ac.uk/work/51935555)**. | ||
|
@@ -36,8 +46,8 @@ Other information including example scripts can be found on the [MDANSE website] | |
|
||
## What can MDANSE do? | ||
|
||
Firstly, MDANSE can interface with MD simulation software. It does this by providing converters for proprietary file formats | ||
into MMTK-style NetCDF format, which is then used for all calculations. The following MD packages are supported: | ||
Firstly, MDANSE can interface with MD simulation software. It does this by providing converters for different file formats | ||
into an .MDT file (HDF format), which is then used for all calculations. The following MD packages are supported: | ||
|
||
- CASTEP | ||
- CHARMM | ||
|
@@ -52,11 +62,11 @@ into MMTK-style NetCDF format, which is then used for all calculations. The foll | |
- PDB | ||
- VASP | ||
- XPLOR | ||
- ASE | ||
|
||
The converted trajectory can then be loaded into MDANSE, where it can be visualised via the Molecular Viewer and animated. | ||
Various trajectory variables (positions, velocities, and forces) can also be plotted for each particle. Then, if the | ||
trajectory is as expected, various properties can be calculated, which can be compared with neutron (or, some, with X-ray) | ||
experimental data, or used as new data to draw conclusions from. The following properties can be computed: | ||
Various trajectory variables (positions, velocities, and forces) can also be plotted for each particle. Then, various properties can be calculated, which can be compared with neutron (or, for some analysis types, with X-ray) | ||
experimental data, or used as a prediction of results of a potential experiment. The following properties can be computed: | ||
|
||
<details><summary>Dynamics</summary><ul> | ||
<li>Angular correlation</li> | ||
|
@@ -93,7 +103,7 @@ experimental data, or used as new data to draw conclusions from. The following p | |
<li>Solvent Accessible Surface</li> | ||
<li>Spatial Density</li> | ||
<li>Static Structure Factor</li> | ||
<li>Voronoi</li> | ||
<li>Voronoi (volume per atom)</li> | ||
<li>X-Ray Static Structure Factor</li> | ||
</ul></details> | ||
|
||
|
@@ -102,13 +112,17 @@ experimental data, or used as new data to draw conclusions from. The following p | |
<li>Temperature</li> | ||
</ul></details> | ||
|
||
Each of these analyses can be configured in various ways. For example, the frames that are used can be changed, certain | ||
atoms can be specified to be the only ones for which the property is computed, or specified atoms can be substituted with | ||
different elements/isotopes. Finally, their results can be outputted in a NetCDF file, an HDF5 file, or a set of DAT | ||
files, and those can then be plotted directly in MDANSE. | ||
Each of these analyses can be controlled using a number of parameters. For example, the user can select a subset of trajectory frames or a subset of atoms on which to perform the calculation, or specified atoms can be substituted with | ||
different elements/isotopes. Finally, their results can be saved in an MDA file (HDF5 format), or a set of DAT files (text format), and those can then be plotted directly in MDANSE. | ||
|
||
More detailed information on how MDANSE works, what it can do, and the science can all be found on [our Read the Docs page](https://mdanse.readthedocs.io/en/protos). | ||
|
||
## Version Information | ||
|
||
The latest development version of MDANSE, now upgraded to Python 3, represents a major change from the previous version. The user interface has transitioned from wxWidgets to Qt, providing a more refined and user-friendly experience. The earlier version, which was located in the 'develop' branch, has been moved to the **legacy** branch. | ||
|
||
MDANSE is currently in its _alpha_ phase in this new Python 3 version. The progression to the _beta_ stage is in progress. With the beta release, MDANSE will be available for direct installation via PyPI. Users can install it using the command `pip install`. `pip install`. | ||
|
||
## Citing MDANSE | ||
|
||
If you used MDANSE in your research, please cite the following paper: | ||
|
@@ -127,7 +141,7 @@ information. | |
MDANSE started as a fork of [version 3 of the nMOLDYN program](https://github.com/khinsen/nMOLDYN3). | ||
nMOLDYN was originally developed by Gerald Kneller in 1995 and subsequently also by Konrad Hinsen, Tomasz Rog, | ||
Krzysztof Murzyn, Slawomir Stachura, and Eric Pellegrini. MDANSE includes most of the code of nMOLDYN3, and also code | ||
from the libraries [MMTK](https://github.com/khinsen/MMTK) and [ScientificPython](https://github.com/khinsen/ScientificPython), | ||
from the libraries [](https://github.com/khinsen/) and [ScientificPython](https://github.com/khinsen/ScientificPython), | ||
in order to reduce dependencies and thus facilitate installation. | ||
|
||
For more information see: | ||
|
@@ -137,7 +151,7 @@ K. Hinsen, E. Pellegrini, S. Stachura, G.R. Kneller J. Comput. Chem. (2012) 33:2 | |
|
||
We are grateful to all the people who have helped in some way or another to improve nMOLDYN and/or MDANSE along those years. | ||
Apart from the main developers mentioned above, we would like to acknowledge explicitly the contributions done in the past | ||
by Bachir Aoun, Vania Calandrini, Paolo Calligari, Gael Goret and Remi Perenon. | ||
by Bachir Aoun, Vania Calandrini, Paolo Calligari, Gael Goret, Remi Perenon and Rastislav Turanyi. | ||
|
||
The MDANSE project is supported by Ada Lovelace Centre, ISIS Neutron and Muon Source, Science | ||
and Technology Facilities Council, UKRI, and the Institut Laue-Langevin (Grenoble, France). | ||
|
@@ -155,3 +169,12 @@ If you want to join the project contact: | |
ISIS Neutron and Muon Source \ | ||
Rutherford Appleton Laboratory \ | ||
Didcot, UK | ||
|
||
## Software Inquiries | ||
|
||
For questions or contributions related to the software, please contact: | ||
|
||
>Dr. Maciej Bartkowiak ([email protected])\ | ||
ISIS Neutron and Muon Source \ | ||
Rutherford Appleton Laboratory \ | ||
Didcot, UK |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,65 @@ | ||
/* Custom CSS for Light Blue Theme */ | ||
body { | ||
background: #E6F1FF !important; /* Light blue background */ | ||
color: #0A192F !important; /* Dark blue text */ | ||
} | ||
|
||
.title { | ||
font-size: 24px; /* Adjust the size as needed */ | ||
} | ||
|
||
.rst-versions { | ||
border-top: solid 10px #222c32; /* Add a solid top border with the specified color */ | ||
} | ||
|
||
a { | ||
color: rgb(12, 102, 192); /* Bright color for links */ | ||
} | ||
|
||
a:hover { | ||
color: #8572f2; /* Slightly different shade for hover state */ | ||
} | ||
|
||
/* Header and sidebar styling */ | ||
.wy-nav-side, .wy-nav-side-search { | ||
background-color: #0c2547 !important; /* Darker shade of blue for the sidebar */ | ||
} | ||
|
||
/* Change background color of top navigation */ | ||
.wy-nav-top { | ||
background-color: #0c2547 !important; /* Light blue background for the top navigation */ | ||
} | ||
|
||
/* Custom styles for math elements */ | ||
.math { | ||
text-align: left; | ||
} | ||
|
||
.eqno { | ||
float: right; | ||
} | ||
|
||
/* Custom styles for grid items */ | ||
.grid-item { | ||
background-color: #1a3d79; /* Custom dark blue background */ | ||
color: #fff; /* White text color */ | ||
padding: 20px; /* Adjust padding as needed */ | ||
border-radius: 5px; /* Rounded corners */ | ||
text-align: center; /* Center-align content */ | ||
margin: 10px; /* Add spacing between grid items */ | ||
} | ||
|
||
/* Custom styles for buttons */ | ||
.button-ref { | ||
background-color: #007BFF; /* Blue background for buttons */ | ||
color: #fff; /* White text color for buttons */ | ||
padding: 10px 20px; /* Adjust padding as needed */ | ||
border-radius: 5px; /* Rounded corners for buttons */ | ||
text-decoration: none; /* Remove underlines from buttons */ | ||
display: inline-block; | ||
transition: background-color 0.3s ease; /* Smooth hover effect */ | ||
} | ||
|
||
.button-ref:hover { | ||
background-color: #0056b3; /* Slightly different shade of blue for hover state */ | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.