orca.resources.subband_config

Subband processing configuration for OVRO-LWA pipeline.

Contains node-to-subband mapping, imaging parameters, reference file paths, and all configuration needed by the subband processing Celery tasks.

All settings live within the orca package for use with the Celery-based subband pipeline.

Attributes

OVRO_LOC

REQUIRED_CONDA_ENV

NODE_SUBBAND_MAP

SUBBAND_NODE_MAP

CALIM_NODES

DYNAMIC_NODE_POOL

NVME_BASE_DIR

LUSTRE_ARCHIVE_DIR

LUSTRE_NIGHTTIME_DIR

LUSTRE_PRODUCTS_DIR

PEELING_PARAMS

AOFLAGGER_STRATEGY

VLSSR_CATALOG

BEAM_MODEL_H5

CALIB_DATA

HOT_BASELINE_PARAMS

SNAPSHOT_PARAMS

SNAPSHOT_CLEAN_I_PARAMS

IMAGING_STEPS

Functions

get_queue_for_subband(→ str)

Return the Celery queue name for a given subband.

get_pixel_size(→ int)

Return the image pixel dimension for a given subband.

get_pixel_scale(→ float)

Return the pixel scale (deg/pixel) paired with get_pixel_size().

get_image_resources(subband)

Return (cpus, mem_gb, wsclean_j) for a given subband.

Module Contents

orca.resources.subband_config.OVRO_LOC[source]
orca.resources.subband_config.REQUIRED_CONDA_ENV = 'py38_orca_nkosogor'[source]
orca.resources.subband_config.NODE_SUBBAND_MAP[source]
orca.resources.subband_config.SUBBAND_NODE_MAP[source]
orca.resources.subband_config.CALIM_NODES[source]
orca.resources.subband_config.DYNAMIC_NODE_POOL = ['calim00', 'calim01', 'calim03', 'calim04', 'calim05', 'calim06', 'calim07', 'calim08', 'calim09'][source]
orca.resources.subband_config.get_queue_for_subband(subband: str) str[source]

Return the Celery queue name for a given subband.

Parameters:

subband – e.g. ‘73MHz’

Returns:

Queue name, e.g. ‘calim08’

orca.resources.subband_config.NVME_BASE_DIR = '/fast/pipeline'[source]
orca.resources.subband_config.LUSTRE_ARCHIVE_DIR = '/lustre/pipeline/images'[source]
orca.resources.subband_config.LUSTRE_NIGHTTIME_DIR = '/lustre/pipeline/night-time/averaged'[source]
orca.resources.subband_config.LUSTRE_PRODUCTS_DIR = '/lustre/pipeline/products'[source]
orca.resources.subband_config.PEELING_PARAMS[source]
orca.resources.subband_config.AOFLAGGER_STRATEGY = '/lustre/ghellbourg/AOFlagger_strat_opt/LWA_opt_GH1.lua'[source]
orca.resources.subband_config.VLSSR_CATALOG = '/lustre/gh/calibration/pipeline/reference/surveys/FullVLSSCatalog.text'[source]
orca.resources.subband_config.BEAM_MODEL_H5 = '/lustre/gh/calibration/pipeline/reference/beams/OVRO-LWA_MROsoil_updatedheight.h5'[source]
orca.resources.subband_config.CALIB_DATA[source]
orca.resources.subband_config.HOT_BASELINE_PARAMS[source]
orca.resources.subband_config.SNAPSHOT_PARAMS[source]
orca.resources.subband_config.SNAPSHOT_CLEAN_I_PARAMS[source]
orca.resources.subband_config.IMAGING_STEPS[source]
orca.resources.subband_config.get_pixel_size(subband: str) int[source]

Return the image pixel dimension for a given subband.

Lower subbands use fewer pixels (wider beam → coarser resolution):

18-36 MHz → 1024 (4096/4) 41-59 MHz → 2048 (4096/2) 64-82 MHz → 4096

Parameters:

subband – e.g. ‘55MHz’

Returns:

NxN).

Return type:

Pixel dimension (square images

orca.resources.subband_config.get_pixel_scale(subband: str) float[source]

Return the pixel scale (deg/pixel) paired with get_pixel_size().

The product get_pixel_size(sb) * get_pixel_scale(sb) is constant (~128°) so that the field-of-view is preserved across frequency tiers.

18-36 MHz → 0.125 (0.03125 * 4) 41-59 MHz → 0.0625 (0.03125 * 2) 64-82 MHz → 0.03125

Parameters:

subband – e.g. ‘55MHz’

Returns:

Pixel scale in degrees.

orca.resources.subband_config.get_image_resources(subband: str)[source]

Return (cpus, mem_gb, wsclean_j) for a given subband.

In dynamic dispatch mode any subband can land on any node, so we always allocate full node resources (44 cores). The old dual-node halving (22 cores) is no longer used.

Parameters:

subband – e.g. ‘73MHz’

Returns:

int, mem_gb: int, wsclean_j: int).

Return type:

Tuple of (cpus