Skip to content

Commit ed5f210

Browse files
ivhclaude
andcommitted
Release v0.8a2
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 059d53c commit ed5f210

4 files changed

Lines changed: 42 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,30 @@
11
# Changelog
22

33

4+
## [0.8a2] - 2026-02-03
5+
6+
### Added
7+
- `Trace` dataclass (trace_model.py) for unified trace data model
8+
- `Spectrum`/`Spectra` classes (spectra.py) replacing legacy Echelle format
9+
- `Trace.wlen(x)` method to evaluate wavelength polynomial
10+
- Per-group wavelength calibration support
11+
- LFC wavecal support for ANDES_RIZ
12+
- docs/output_formats.md documenting new file formats
13+
14+
### Changed
15+
- All pipeline steps use `list[Trace]` interface instead of array-based
16+
- `extract()` takes `list[Trace]`, returns `list[Spectrum]`
17+
- Renamed `nord`/`iord` to `ntrace`/`idx` for clarity
18+
- Renamed `Trace.fiber` to `Trace.group`, added `fiber_idx` for per-fiber wavecal
19+
- File format: traces.npz -> traces.fits (unified FITS format)
20+
- Wavelength calibration stored in traces.fits instead of separate wavecal.npz
21+
- Spectra use NaN masking instead of COLUMNS+MASK redundancy
22+
23+
### Removed
24+
- `curvature_model.py` (curvature now stored in Trace)
25+
- `echelle.py` functionality (deprecated, use spectra.py)
26+
- Dead code from util.py
27+
428
## [0.8a1] - 2026-02-03
529

630
### Added

WhatsNew.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
## What's New in PyReduce 0.8 ?
2+
3+
### Unified Trace Data Model
4+
5+
The `Trace` dataclass now holds all trace-related data in one place: position polynomial, slit curvature, and wavelength calibration. Pipeline steps update traces in-place as they run, eliminating separate `.curve.npz` and `.wavecal.npz` files. All trace data is saved to a single `.traces.fits` file.
6+
7+
See [docs/redesign.md](docs/redesign.md) for details.
8+
9+
### New Spectra Format
10+
11+
Extracted spectra use a new per-trace FITS format with NaN masking, replacing the legacy Echelle class. Each spectrum row includes order number, group ID, and extraction metadata.
12+
13+
See [docs/output_formats.md](docs/output_formats.md) for the file format specification.
14+
15+
---
16+
117
## What's New in PyReduce 0.7 ?
218

319
### Multi-Fiber Instrument Support

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "pyreduce-astro"
3-
version = "0.8a1"
3+
version = "0.8a2"
44
requires-python = ">=3.13"
55
description = "A data reduction package for echelle spectrographs"
66
readme = "README.md"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)