Installation

Tested with Python 3.10, 3.11

Optional: A working LaTeX installation and dvipng is required to create plots with LaTeX labels (ideal for publication). Otherwise, Matplotlib’s default MathText is used, which may not render all symbols correctly.

Developer instructions

The data files are not included into the Git repo, and must first be downloaded from the web-server (starfit.org/data) before installing from the Git repo.

git clone git@github.com:conradtchan/starfit.git
cd starfit

# Download data files
./download-data.sh

# "-e" creates an editable install, "[testing]" installs additional dependencies for testing
pip install -e ".[testing]" --no-build-isolation

# Run all tests
python -m pytest