orca.tasks.run_image

Imaging pipeline with model subtraction and peeling.

Implements a complete imaging workflow including: - Calibration application (delay + bandpass) - Antenna flagging - TTCal peeling - WSClean imaging (dirty + phase-centered) - Source blanking and uvsub

This version includes split after uvsub for cleaner output.

Attributes

DELAY_TABLE

BANDPASS_TBL

BAD_CORR_NUMS

JULIA_BIN

TTCAL_SCRIPT

SOURCES_JSON

WSCLEAN_DIRTY

WSCLEAN_PHASEC

BLANK_SIZE_DEG

LOG

ap

Functions

copy_ms(→ pathlib.Path)

find_freq(→ str)

Return the first path component like '73MHz'.

apply_calibration(→ None)

run_flagging(→ None)

run_ttcal_zest(→ None)

wsclean_run(ms, out_dir, prefix, args, tag)

plot_dirty(dirty_fits, png_out)

blank_source(model_fits, out_casa)

subtract_and_split(→ pathlib.Path)

Returns path to _UVSUB_CORR.ms (split, corrected column).

rephase_center(ms, ra_deg, dec_deg)

process_ms(→ pathlib.Path)

Module Contents

orca.tasks.run_image.DELAY_TABLE = '/lustre/pipeline/calibration/delay/2024-05-24/20240524_delay.delay'[source]
orca.tasks.run_image.BANDPASS_TBL = '/lustre/pipeline/calibration/bandpass/{freq}/2024-05-24/11/bandpass_concat.{freq}_11.bandpass'[source]
orca.tasks.run_image.BAD_CORR_NUMS = (3, 12, 14, 17, 28, 31, 33, 34, 41, 44, 51, 56, 57, 79, 80, 87, 92, 117, 124, 126, 127, 137,...[source]
orca.tasks.run_image.JULIA_BIN = '/opt/devel/pipeline/envs/julia060/bin/julia'[source]
orca.tasks.run_image.TTCAL_SCRIPT = '/opt/devel/pipeline/envs/julia060/bin/ttcal.jl'[source]
orca.tasks.run_image.SOURCES_JSON[source]
orca.tasks.run_image.WSCLEAN_DIRTY = ['-pol', 'IV', '-size', '4096', '4096', '-scale', '0.03125', '-niter', '20000', '-weight',...[source]
orca.tasks.run_image.WSCLEAN_PHASEC = ['-pol', 'IV', '-size', '48', '48', '-scale', '0.0833333', '-niter', '1000', '-beam-size',...[source]
orca.tasks.run_image.BLANK_SIZE_DEG = 0.5[source]
orca.tasks.run_image.LOG[source]
orca.tasks.run_image.copy_ms(src: pathlib.Path, dst_dir: pathlib.Path) pathlib.Path[source]
orca.tasks.run_image.find_freq(ms_path: pathlib.Path) str[source]

Return the first path component like ‘73MHz’.

orca.tasks.run_image.apply_calibration(ms: pathlib.Path, freq: str) None[source]
orca.tasks.run_image.run_flagging(ms: pathlib.Path) None[source]
orca.tasks.run_image.run_ttcal_zest(ms: pathlib.Path) None[source]
orca.tasks.run_image.wsclean_run(ms: pathlib.Path, out_dir: pathlib.Path, prefix: str, args: list[str], tag: str)[source]
orca.tasks.run_image.plot_dirty(dirty_fits: pathlib.Path, png_out: pathlib.Path)[source]
orca.tasks.run_image.blank_source(model_fits: pathlib.Path, out_casa: pathlib.Path)[source]
orca.tasks.run_image.subtract_and_split(ms_src: pathlib.Path, casa_model: pathlib.Path, workdir: pathlib.Path) pathlib.Path[source]

Returns path to _UVSUB_CORR.ms (split, corrected column).

orca.tasks.run_image.rephase_center(ms: pathlib.Path, ra_deg: float, dec_deg: float)[source]
orca.tasks.run_image.process_ms(ms_path: str | pathlib.Path, workdir: str | pathlib.Path) pathlib.Path[source]
orca.tasks.run_image.ap[source]