.. image:: https://github.com/neutrons/PyRS/actions/workflows/ci.yml/badge.svg?branch=next :target: https://github.com/neutrons/PyRS/actions?query=branch:next
.. image:: https://codecov.io/gh/neutrons/PyRS/branch/next/graph/badge.svg :target: https://codecov.io/gh/neutrons/PyRS
The workflow is as follows. The word "script" is used to denote a distict step in processing the data rather than actual script.
/HFIR/HB2B/IPTS-22731/nexus/HB2B_439.nxs.h5
This is read in by the gui and used to create the summary .csv file [script 4 - currently being written]
Some other things to note
If you've never used PyRS before, you can get started quickly by doing the following.
Anaconda environments are only supported on OSx (x86) and Linux using python 3.10
.. code-block::
conda install -c conda-forge mamba
.. code-block::
mamba env create --name pyrs --file environment.yml
.. code-block::
conda activate pyrs
.. code-block::
python setup.py build
.. code-block::
PYTHONPATH=$PWD:$PYTHONPATH python scripts/pyrsplot
To start main window from analysis machine
.. code-block::
PYTHONPATH=$PWD:$PYTHONPATH python scripts/pyrsplot
To develop
To run all of the tests
.. code-block::
python -m pytest
Running specific tests can be done through standard ways
https://docs.pytest.org/en/stable/usage.html`_. For example
.. code-block::
python -m pytest tests/unit
will only run the unit tests
Mantid <https://github.com/mantidproject/mantid>
_ - The Mantid project provides a framework that supports high-performance computing and visualisation of scientific data.Steca2 <https://gitlab-public.fz-juelich.de/mlz/steca/-/tree/main>
_ - The stress and texture calculator used by the Heinz Maier-Leibnitz Zentrum Garching facility.If you want to suggest changes of a feature or the inclusion of new features, you can either 1) fork the repository to work on it and create an issue to discuss it before proceeding with a pull request, or 2) create an issue with your suggestion for others to discuss and potentially work on it.
Please report any bugs or ask for help by creating a new issue.
This material is based upon work supported by the U.S. Department of Energy, Office of Science, Office of Basic Energy Sciences.