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+.

  1. lmfit

  2. numpy

  3. PyIRI

Installation Options

1. Clone the git repository

git clone https://github.com/victoriyaforsythe/PyRAY.git
  1. Install PyRAY: Change directories into the repository folder and build the project. There are a few ways you can do this:

    1. Install on the system (root privileges required):

      sudo pip install .
      
    2. Install at the user level:

      pip install --user .
      
    3. 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]