Skip to content

rustafits 1.7.0

Choose a tag to compare

@github-actions github-actions released this 04 Nov 20:13

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 from athenaeum-core at 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's main against the switched branch, and a star probe over its
    whole star-test corpus all came out identical.
    star_measure::adapter lists the #[doc(hidden)] helpers Athenaeum's
    stacking calls; they are outside semver. MEASURE_VERSION (8) comes along.
  • stats: the robust statistics star_measure reads (median / MAD /
    biweight midvariance two-sided about the median, the 1/16 stratified sample,
    noise-scale factors), from Athenaeum's integration::stats.
  • Features serde (off by default: Serialize / Deserialize on the
    star_measure and stats types, the wire Athenaeum stores) and
    test-support (StarFit::test_at and PlanePrep::for_pin for
    downstream tests).
  • astroimage::lm_counters under lm-counters, without debug-pipeline.
  • processing::cfa: green-site helpers for measuring a raw CFA mosaic
    without interpolation — green_mask (true on the green sites, file row
    order), green_sum (G1 + G2 per 2×2 cell at half width and height, equal
    to twice the green plane of super_pixel_debayer_f32) and green_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

  • libc is a regular dependency (the thread CPU clock of
    star_measure's sub-step timers, unix), no longer tied to the cli feature.

Fixed

  • FITS: XBAYROFF / YBAYROFF are folded into the Bayer pattern. It used to
    come from BAYERPAT alone, 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
    odd XBAYROFF swaps the 2×2 cell's columns (RGGB → GRBG), an odd YBAYROFF
    its rows (RGGB → GBRG). read_header reports 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 analyze shows
      Athenaeum's numbers: Athenaeum's Analysis tab has measured with its own
      star_measure module since 2026-10-24.
    • CLAUDE.md lists what Athenaeum and solvemyastro use from rustafits, including
      the analysis::fitting / analysis::background functions behind Athenaeum's
      stacking numbers.
    • docs/platesolving.md no longer says solvemyastro drives platesolving.
    • The Athenaeum integration guide marks which of its sections still apply.
    • The plan to move star_measure into rustafits is
      docs/superpowers/plans/2026-11-03-star-measure-port.md; its bit-identity
      tools are in scripts/star_measure_port/ (port_digest.rs, the digest of
      every entry point, and mac_check.sh, the aarch64 gate run).