Skip to content

decisions, psf, difference, photometry, foundation: flight's PSF fits use the oversampled ePSF stamp - #243

Merged
jjencson91 merged 3 commits into
mainfrom
docs/psf-fit-oversampled
Nov 25, 2026
Merged

jjencson91 merged 3 commits into
mainfrom
docs/psf-fit-oversampled

Conversation

@jjencson91

@jjencson91 jjencson91 commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Doc-first half of a rebuild PR to follow: flight's PSF fits switch from the phase-averaged science PSF to commissioning's oversampled (os3) ePSF stamp.

  • decisions.md: decision-flight-psf-fit-oversampled (after decision-flight-crossconv-off, which it depends on), with the measurements on program 1062 and the real/bogus note (the classifier was trained on earlier simulations; retrained after).
  • psf.md: the [psf] fit_model setting ("native" base, "oversampled" flight).
  • foundation.md: the import's psf scope may name the oversampled stamp; it is copied beside the science PSF as <science PSF stem>_oversampled.fits, manifest only, no new row and no schema change.
  • difference.md: which fits use it (SFFT's PSF-fit catalogs, the xsources fit) and which readers keep the phase-averaged stamp; refused with crossconv_flag true; a missing companion is exit 65.
  • photometry.md: forced photometry normalises the oversampled stamp to the square of its oversampling, as photutils' ImagePSF expects (load_psf normalises to unit sum today, which would read 9x high with an os3 stamp).

flight.toml stays "native" until flight's science PSFs are re-imported with the companion, so merging changes no flight run; the switch is then one value. The companion is described as the precomputed set's stamp and its import records psf_set, the term of rapid PR 653.

Checked locally: check-public-safety.sh, sphinx-build -W --keep-going, acceptance.sh.

🤖 Generated with Claude Code

jjencson91 and others added 3 commits November 25, 2026 11:05
… use the oversampled ePSF stamp

New ruling decision-flight-psf-fit-oversampled: [psf] fit_model is
"oversampled" in flight.toml and "native" in the base. Under it SFFT's two
PSF-fit catalogs, the fit at each xsource and the packet's forced
photometry model each source with commissioning's epsf_os3 stamp,
imported beside the science PSF as <science PSF stem>_oversampled.fits,
through photutils' ImagePSF at its oversampling. Every other reader of
the science PSF keeps the phase-averaged stamp. Refused with
crossconv_flag true; a missing companion rejects the job (exit 65).
psf.md gains the setting's row, foundation.md the import's optional
"oversampled" path, difference.md and photometry.md where it applies
(forced photometry normalises the stamp to the square of its
oversampling, as ImagePSF expects).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…SFs are re-imported; the companion records its psf_set

flight.toml carries [psf] fit_model = "native" until flight's science PSFs
are imported again with their oversampled companions, since a job under
"oversampled" without one is rejected; the switch is then that one value.
The companion is named as the precomputed set's stamp (psf_set
1043_20260928, the term of rapid PR 653) and the import records its
psf_set in the manifest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ly keys that differ)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jjencson91
jjencson91 merged commit 82fb138 into main Nov 25, 2026
1 check passed
@jjencson91
jjencson91 deleted the docs/psf-fit-oversampled branch November 25, 2026 20:47
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