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