orca.transform.post_process_science

Phase 3 — Post-subband wideband science aggregation.

Runs AFTER all per-subband workers complete. Operates on Lustre.

Steps

  1. Wideband stacking: inverse-variance weighted co-adds across subbands (Red 18–41 MHz, Green 41–64 MHz, Blue 64–85 MHz).

  2. 3-colour PNG composites.

  3. Wideband transient search on stacked images.

  4. Wideband solar system photometry.

  5. Detection gathering (target, transient, solar system CSVs from all bands).

  6. Email summary report.

Ported from ExoPipe/post_process_science.py into the orca package.

Attributes

logger

EMAIL_RECIPIENT

OUTPUT_CAT_DIR

SECRETS_FILE

WIDEBAND_BANDS

parser

Functions

get_inner_rms(→ float)

RMS of the inner 25 % (50 % per side) of a FITS image.

run_wideband_stacking(run_dir[, catalog_path])

Build inverse-variance-weighted wideband co-adds and run transient search.

gather_detections(run_dir)

Collect target photometry, transient, and solar system detections.

send_email_report(run_dir, report_lines, attachment_files)

Send HTML email summary with attachments.

run_post_processing(run_dir[, catalog_path])

Run the full Phase 3 post-processing pipeline.

Module Contents

orca.transform.post_process_science.logger[source]
orca.transform.post_process_science.EMAIL_RECIPIENT = 'gh@astro.caltech.edu'[source]
orca.transform.post_process_science.OUTPUT_CAT_DIR = '/lustre/gh/main/catalogs/'[source]
orca.transform.post_process_science.SECRETS_FILE[source]
orca.transform.post_process_science.WIDEBAND_BANDS[source]
orca.transform.post_process_science.get_inner_rms(fits_path: str) float[source]

RMS of the inner 25 % (50 % per side) of a FITS image.

orca.transform.post_process_science.run_wideband_stacking(run_dir, catalog_path=None)[source]

Build inverse-variance-weighted wideband co-adds and run transient search.

orca.transform.post_process_science.gather_detections(run_dir)[source]

Collect target photometry, transient, and solar system detections.

orca.transform.post_process_science.send_email_report(run_dir, report_lines, attachment_files)[source]

Send HTML email summary with attachments.

orca.transform.post_process_science.run_post_processing(run_dir, catalog_path=None)[source]

Run the full Phase 3 post-processing pipeline.

Parameters:
  • run_dir – Top-level Lustre run directory containing per-subband folders.

  • catalog_path – Source catalog CSV for transient search masking.

orca.transform.post_process_science.parser[source]