orca.transform.flux_check_cutout

OVRO-LWA Flux Scale Validation.

Ported from ExoPipe/flux_check_cutout.py into the orca package for use with the Celery pipeline.

Validates the absolute flux scale of calibrated images against Scaife & Heald (2012) models using CASA imfit on cutouts around known calibrators.

Attributes

CASA_TASKS_AVAILABLE

CASA_TASKS_AVAILABLE

CUTOUT_SIZE

SEARCH_RADIUS

MIN_ELEVATION

Functions

get_model_flux(name, freq_mhz)

Predict flux density of a calibrator at given frequency.

process_cutout(img_path, source_name, source_data, ...)

Create a cutout around source_name and fit with imfit.

run_flux_check(run_dir[, logger])

Validate absolute flux scale against SH12 models.

Module Contents

orca.transform.flux_check_cutout.CASA_TASKS_AVAILABLE = False[source]
orca.transform.flux_check_cutout.CASA_TASKS_AVAILABLE = True[source]
orca.transform.flux_check_cutout.CUTOUT_SIZE[source]
orca.transform.flux_check_cutout.SEARCH_RADIUS[source]
orca.transform.flux_check_cutout.MIN_ELEVATION = 20.0[source]
orca.transform.flux_check_cutout.get_model_flux(name, freq_mhz)[source]

Predict flux density of a calibrator at given frequency.

Uses Scaife & Heald (2012) polynomial coefficients stored in CALIB_DATA. The reference frequency is 150 MHz.

orca.transform.flux_check_cutout.process_cutout(img_path, source_name, source_data, temp_dir)[source]

Create a cutout around source_name and fit with imfit.

orca.transform.flux_check_cutout.run_flux_check(run_dir, logger=None)[source]

Validate absolute flux scale against SH12 models.

Parameters:
  • run_dir (str) – Root directory for the subband run (contains <freq>MHz/ folders).

  • logger (logging.Logger, optional) – If supplied, messages go through logger.info etc.