Skip to content

Add PAM to packet - #234

Merged
eramey16 merged 1 commit into
mainfrom
add-PAM-to-packet
Nov 24, 2026
Merged

eramey16 merged 1 commit into
mainfrom
add-PAM-to-packet

Conversation

@eramey16

Copy link
Copy Markdown
Contributor

Nothing to run. Docs only. Merge after the add-PAM-to-intake docs pull request and before the matching rapid one (add-PAM-to-packet).

This branch was started from add-PAM-to-intake. Until that merges, this pull request also shows its commits; I will rebase once it is in.

What

One entry on system/decisions.md, decision-fluxes-in-njy:

  • flux_nJy = flux × 10^(−0.4 × (zptmag − 31.4)) × factor, the same on the uncertainty.
  • Every flux in a packet uses its own image's l2files.zptmag and its own image's pixel area map, interpolated at the measurement's position.
  • Each source and forced-photometry record carries zeroPoint and pixelAreaFactor.
  • No zero point gives null fluxes; no map gives the zero point alone.
  • The object's flux statistics are computed from calibrated fluxes.
  • The database keeps instrumental fluxes.

Point for review

system/alerts.md is marked retired and no current page describes the packet's fields, so this is recorded as a decision only. The page text is queued for when a current packet page exists.

🤖 Generated with Claude Code

…ro point and pixel area map

decision-fluxes-in-njy: the formula, zeroPoint and pixelAreaFactor on each
source and forced-photometry record, null fluxes without a zero point, the
zero point alone without a map, the object statistics from calibrated
fluxes, and the tables left instrumental.

Implemented by rapid branch add-PAM-to-packet.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@eramey16
eramey16 merged commit a6afcb6 into main Nov 24, 2026
1 check passed
@eramey16
eramey16 deleted the add-PAM-to-packet branch November 24, 2026 19:30
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