Skip to content

Merge dev into main: Gaia WCS robustness, relative calibration, sky masking, JOSS paper, docs#80

Merged
charliekilpatrick merged 1 commit into
mainfrom
dev
Mar 24, 2026
Merged

Merge dev into main: Gaia WCS robustness, relative calibration, sky masking, JOSS paper, docs#80
charliekilpatrick merged 1 commit into
mainfrom
dev

Conversation

@charliekilpatrick

@charliekilpatrick charliekilpatrick commented Mar 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

Merges dev into main with pipeline hardening, calibration improvements, documentation and paper updates, and expanded unit tests.

Highlights

WCS / Gaia alignment (solve_wcs.py)

  • Fixed iterative Gaia–SExtractor matching so Gaia coordinates are not collapsed across iterations.
  • Added structured logging (in-frame Gaia counts, SExtractor counts, match summaries, WCS diagnostics).
  • Graceful fallback to coarse astrometry when Gaia refinement fails or is unstable; optional GAIAFAIL header and dispersion defaults so frames are not dropped silently.
  • WCS sanity checks (scale vs instrument expectation, anisotropy) to reject pathological refined fits before reprojection.

Sky & stacking (instrument.py, image_procs.py)

  • Iterative sigma-clipped sky creation and configurable masking for master sky; robust sky scaling in process_science.
  • Optional relative flux calibration before stacking (--relative-calibration): SExtractor catalogs, RA/Dec cross-matching, FLUXERR_AUTO weighting; stack_data uses relative scales without dividing by exptime when provided; per-frame fallback 1/exptime when matching fails.

Photometry / utilities

  • run_sextractor optional sextractor_path; find_catalog and 2MASS K-band mapping fixes as applicable.

Paper & docs

  • JOSS paper.md updates (Summary, Statement of need, State of the field, Software design, Research impact, YAML affiliations, word count within limits).
  • README / CONTRIBUTING / installation docs as on dev.

Tests & CI

  • Unit tests for compute_relative_scales, create_sky, Gaia fallback paths, etc.; integration tests marked and excluded from default CI.

Checklist

  • CI green on dev
  • Docs / GitHub Pages deploy policy matches main (if applicable)
  • Tag release after merge if desired

Suggested reviewers

Core maintainers familiar with solve_wcs, image_procs, and release process.

@charliekilpatrick
charliekilpatrick merged commit 2f271cf into main Mar 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant