Installation

Basic Installation

HostSub_GP is not yet available on PyPI. To install the package, follow these steps:

Pull the repository

git clone https://github.com/slowdivePTG/HostSub_GP.git
cd HostSub_GP

Set up a clean environment

For venv users:

python3 -m venv .venv
source .venv/bin/activate

For conda users:

conda create -n hostsub python=3.12
conda activate hostsub

Install via pip

pip install .

Optional Dependencies

The package includes optional dependencies that can be installed as needed:

  • PypeIt integration: For working with PypeIt data products

    pip install ".[pypeit]"
    

Note

If you plan to use PypeIt for basic image processing and use the output spec2d data products as input, install with the pypeit extra as shown above.