Repository navigation
rustafits 1.7.0
Athenaeum's star-measurement path moves here (star_measure, stats),
bit-identical to Athenaeum's own copy, which Athenaeum has now dropped for a
re-export of this one; plus CFA green-site helpers and the XBAYROFF /
YBAYROFF fix (see Fixed). Additive for existing callers, hence a minor bump.
Added
star_measure: Athenaeum's one star-measurement path — per-star Moffat
fit with canonical axes, per-frame β, frame aggregates, sky and noise, the
Analysis budget (≤ N stars over the field), trail / defocus verdicts, refusal
counts — copied fromathenaeum-coreat 0b6fb183 with only paths, serde
gates and visibility changed. Bit-identical to Athenaeum's copy on the same
machine: its 288 module tests pass here exactly as Athenaeum's own do, and a
full dump of every entry point over synthetic fields and the test frames is
byte-for-byte the same from both copies. Athenaeum now uses this copy (port
plan phase 3, Athenaeum PR 23): its own is gone, and the switch moved no
number — its full test suite with the exact aarch64 pins, the digest of
Athenaeum'smainagainst the switched branch, and a star probe over its
whole star-test corpus all came out identical.
star_measure::adapterlists the#[doc(hidden)]helpers Athenaeum's
stacking calls; they are outside semver.MEASURE_VERSION(8) comes along.stats: the robust statisticsstar_measurereads (median / MAD /
biweight midvariance two-sided about the median, the 1/16 stratified sample,
noise-scale factors), from Athenaeum'sintegration::stats.- Features
serde(off by default:Serialize/Deserializeon the
star_measureandstatstypes, the wire Athenaeum stores) and
test-support(StarFit::test_atandPlanePrep::for_pinfor
downstream tests). astroimage::lm_countersunderlm-counters, withoutdebug-pipeline.processing::cfa: green-site helpers for measuring a raw CFA mosaic
without interpolation —green_mask(trueon the green sites, file row
order),green_sum(G1 + G2per 2×2 cell at half width and height, equal
to twice the green plane ofsuper_pixel_debayer_f32) andgreen_phase
(the G1 sample of every cell, a half-resolution plane of real samples for
sky / noise statistics). Odd last row / column left out;BayerPattern::None
gives an empty result. Parallel (rayon).
Changed
libcis a regular dependency (the thread CPU clock of
star_measure's sub-step timers, unix), no longer tied to theclifeature.
Fixed
- FITS:
XBAYROFF/YBAYROFFare folded into the Bayer pattern. It used to
come fromBAYERPATalone, so a file with an odd offset was debayered with
the wrong phase — red and blue exchanged (odd X and Y), or green and magenta
(one of them) — by both the super-pixel and the VNG render, and with one odd
offset the analysis' green interpolation took red / blue sites for green. An
oddXBAYROFFswaps the 2×2 cell's columns (RGGB → GRBG), an oddYBAYROFF
its rows (RGGB → GBRG).read_headerreports the same folded pattern. Files
without the keywords, or with even offsets, read and render exactly as before. - Docs:
- README and CLAUDE.md no longer claim that
rustafits analyzeshows
Athenaeum's numbers: Athenaeum's Analysis tab has measured with its own
star_measuremodule since 2026-10-24. - CLAUDE.md lists what Athenaeum and solvemyastro use from rustafits, including
theanalysis::fitting/analysis::backgroundfunctions behind Athenaeum's
stacking numbers. docs/platesolving.mdno longer says solvemyastro drivesplatesolving.- The Athenaeum integration guide marks which of its sections still apply.
- The plan to move
star_measureinto rustafits is
docs/superpowers/plans/2026-11-03-star-measure-port.md; its bit-identity
tools are inscripts/star_measure_port/(port_digest.rs, the digest of
every entry point, andmac_check.sh, the aarch64 gate run).
- README and CLAUDE.md no longer claim that