prepare_data

Prepare the data for calibration and imaging.

enable

bool

Executes the data preparation step.

fixvis

Fixes the UVW coordinates through the CASA task fixvis.

enable

bool, optional, default = False

Enable execution of fixvis.

clear_cal

bool, optional, default = False

Clears out calibrated data and resets previous predicted model

manage_flags

Manage MS flags

enable

bool, optional, default = true

enable this section

add_bitflag_column

bool, optional, default = true

Add BITFLAG and BITFLAG_ROW columns

init_legacy_flagset

bool, optional, default = true

Save all current flags in a legacy flagset if it does not exist

remove_flagsets

bool, optional, default = true

Remove all existing flagsets, except legacy flags

spectral_weights

How to initialize spectral weights

enable

bool, optional, default = False

Enable this segment

mode

{“uniform”, “estimate”, “delete”}, optional, default = uniform

uniform: Set all weights to unity, estimate: Estimate spectral weights from frequency-dependent SEFD/Tsys/Noise values, delete: Delete WEIGHT_SPECTRUM column if it exists. if ‘estimate’, then further settings are available in the ‘estimate’ segement of this section

estimate

Estimate spectral weights from frequency-dependent SEFD/Tsys/Noise values

stats_data

str, optional, default = use_package_meerkat_spec

File with SEFD/Tsys/Noise data. If data is from MeerKAT telescope, you can specify ‘use_package_meerkat_spec’ to use package data.

weight_columns

list of str, optional, default = WEIGHT, WEIGHT_SPECTRUM

column names

noise_columns

list of str, optional, default = SIGMA, SIGMA_SPECTRUM

column names for noise

write_to_ms

bool, optional, default = True

write columns to file