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
Functions
|
Return the Celery queue name for a given subband. |
|
Return the image pixel dimension for a given subband. |
|
Return the pixel scale (deg/pixel) paired with |
|
Return (cpus, mem_gb, wsclean_j) for a given subband. |
Module Contents
- 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.LUSTRE_NIGHTTIME_DIR = '/lustre/pipeline/night-time/averaged'[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.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