orca.transform.extractor_pb_75

extractor_pb_75.py — OVRO-LWA beam model & warp utilities.

Copied from ExoPipe into orca so pb_correction.py can import locally without depending on an external PYTHONPATH entry.

Attributes

OVRO_LOC

BEAM_PATH

MATCH_RADIUS

DEFAULT_ALPHA

FLUX_RATIO_MIN

FLUX_RATIO_MAX

VLSS_MAX_SIZE_DEG

NVSS_MAX_SIZE_DEG

LWA_SIZE_TOLERANCE

WARP_ANCHOR_THRESH_PIX

CALIB_DATA

Classes

BeamModel

Functions

parse_vlssr_text(path)

load_catalog(path, name)

calc_model_flux(name, freq_mhz)

print_calibrator_table(img_sources, cat_data, ...)

plot_distortion_map(mag, sx, sy, nx, title, outname)

generate_warp_screens(img_sources, cat_data, wcs, ...)

apply_warp(data, screen_x, screen_y)

fit_primary_beam(anchors, obs_date, freq_mhz, ...)

Module Contents

orca.transform.extractor_pb_75.OVRO_LOC[source]
orca.transform.extractor_pb_75.BEAM_PATH = '/lustre/gh/calibration/pipeline/reference/beams/OVRO-LWA_MROsoil_updatedheight.h5'[source]
orca.transform.extractor_pb_75.MATCH_RADIUS[source]
orca.transform.extractor_pb_75.DEFAULT_ALPHA = -0.7[source]
orca.transform.extractor_pb_75.FLUX_RATIO_MIN = 0.8[source]
orca.transform.extractor_pb_75.FLUX_RATIO_MAX = 1.2[source]
orca.transform.extractor_pb_75.VLSS_MAX_SIZE_DEG = 0.020833333333333332[source]
orca.transform.extractor_pb_75.NVSS_MAX_SIZE_DEG = 0.0125[source]
orca.transform.extractor_pb_75.LWA_SIZE_TOLERANCE = 1.2[source]
orca.transform.extractor_pb_75.WARP_ANCHOR_THRESH_PIX = 10.0[source]
orca.transform.extractor_pb_75.CALIB_DATA[source]
class orca.transform.extractor_pb_75.BeamModel(h5_path)[source]
path[source]
interpolator = None[source]
loaded = False[source]
load_data()[source]
get_response(ra, dec, obs_time, freq_hz)[source]
orca.transform.extractor_pb_75.parse_vlssr_text(path)[source]
orca.transform.extractor_pb_75.load_catalog(path, name)[source]
orca.transform.extractor_pb_75.calc_model_flux(name, freq_mhz)[source]
orca.transform.extractor_pb_75.print_calibrator_table(img_sources, cat_data, obs_date, freq_mhz)[source]
orca.transform.extractor_pb_75.plot_distortion_map(mag, sx, sy, nx, title, outname)[source]
orca.transform.extractor_pb_75.generate_warp_screens(img_sources, cat_data, wcs, shape, freq_mhz, cat_freq_mhz, lwa_bmaj_deg, clip_sigma, base_name='')[source]
orca.transform.extractor_pb_75.apply_warp(data, screen_x, screen_y)[source]
orca.transform.extractor_pb_75.fit_primary_beam(anchors, obs_date, freq_mhz, base_name, beam_model)[source]