nCTEQpy is the Python analysis framework for nCTEQ Parton Distribution Function fits.
Install with pip:
pip install ncteqpy
or conda:
conda install -c conda-forge ncteqpy
The source is available at http://github.com/janw20/ncteqpy. Clone the repository:
git clone https://github.com/janw20/ncteqpy.git
nCTEQpy is built with poetry. Install poetry e.g. with pipx:
pipx install poetry
Then navigate to the directory where you cloned this repository:
cd path/to/ncteqpy
and install:
poetry install
Now you can import the ncteqpy
module in Python:
import ncteqpy as nc