Installation
The following instructions will allow you to install PyRAY.
Prerequisites
PyRAY uses the Python modules included in the list below. This module officially supports Python 3.10+.
lmfit
numpy
PyIRI
Installation Options
1. Clone the git repository
git clone https://github.com/victoriyaforsythe/PyRAY.git
Install PyRAY: Change directories into the repository folder and build the project. There are a few ways you can do this:
Install on the system (root privileges required):
sudo pip install .
Install at the user level:
pip install --user .
Install with the intent to change the code:
pip install --user -e .
Optional Requirements
To run the test suite and build the documentation locally, you also need the following Python packages.
Attention
This module has the following additional requirements:
coveralls flake8 flake8-docstrings hacking>=1.0 pytest pytest-cov
These can be installed as follows:
python -m pip install PyRayHF[test]
Attention
This module has the following additional requirements:
extras-require ipython myst-parser numpydoc sphinx sphinx-rtd-theme
These can be installed as follows:
python -m pip install PyRayHF[doc]