PyReduce Documentation

PyReduce is a data reduction pipeline for echelle spectrographs. It processes raw FITS observations into calibrated 1D spectra.

Supported instruments include HARPS, HARPS-N, UVES, XSHOOTER, CRIRES+, JWST/NIRISS, JWST/MIRI, and more.

Quick Start

# Install
uv add pyreduce-astro

# Download sample data
uv run reduce download UVES

# Run reduction
uv run reduce run UVES -t HD132205 --steps bias,flat,trace,science

Or use Python:

from pyreduce.pipeline import Pipeline

Pipeline.from_instrument(
    instrument="UVES",
    target="HD132205",
    channel="middle",
).run()

Contents

Development