Skip to content

grzeimann/Panacea

Repository files navigation

Panacea: Automatic LRS2 data-reduction pipeline for HET

CI License: BSD-3-Clause DOI

Panacea reduces LRS2 raw CCD frames into science‑ready spectra and data cubes for the Hobby–Eberly Telescope (HET). It powers the daily automated reductions on TACC and can be installed locally for development or small analyses. For a structured overview, see Project documentation index.

Install (conda + pip)

conda env create -f environment.yml
conda activate panacea
pip install .[dev]

Compatibility note: The environment is pinned to numpy<2.0 with astropy<6 (see environment.yml / pyproject.toml). If you need NumPy 2.x, upgrade Astropy to ≥6 and test locally.

Quickstart (CLI)

For a step-by-step walkthrough, sample data download, and additional options, see the full Quickstart guide. It complements and expands the brief commands shown here: docs/getting-started/quickstart.md

# Show help and verify installation
panacea-lrs2 -h

# Smoke test: verify packaged resources without raw data
panacea-lrs2 --smoke-test

# See the full Quickstart guide for sample data and more options:
# docs/getting-started/quickstart.md
# Example run (adjust to your data)
panacea-lrs2 -d 20260115 -s uv

More examples and options: CLI user guide and Examples.

Data and configuration

  • Required configuration files (e.g., line lists, DAR tables, responses, fplane.txt) are bundled with the package and resolved via importlib.resources.
  • Raw data layout: the CLI expects an LRS2/TACC‑like directory structure. Point to your data root using --baseraw.

TACC pipeline users

If you use the facility pipeline on TACC, start with TACC overview.

Troubleshooting

  • Import error mentioning numpy.in1d or Astropy: ensure your environment follows the pins above.
  • Need dev commands (pre‑commit, local CI, coverage)? See Dev quickstart. For exact git workflow commands (stage/commit/push), see Stage, commit, push.
  • Where are tests described (including tests/test_sample_data.py)? See Tests overview.
  • More help: FAQ.

Citing and License

Contributing

We welcome issues and pull requests. Please read Contributing guide. For a concise developer setup and CI‑equivalent checks, see Dev quickstart.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •