- ' to redo the calibration of calib_step for the list of antennas. ###
### Example: Using the row for calib_fringefit_single2_cal and setting this column to ###
### 'calib_fringefit_single:BR,LA' to replace all solutions for the BR and LA antennas in the ###
### calibration table of calib_fringefit_single with solutions obtained from the ###
### calib_fringefit_single2_cal step. Note that no solution table for ###
### calib_fringefit_single2_cal will be kept in the end. ###
### 14. Option to perform calibration separately for different spws. Only relevant for calibration steps where ###
### multiple spws are to be combined (e.g., multi-band fringe-fitting). For calib_fringefit_multi_cal_*, the ###
### calib_fringefit_solint_cal parameter is taken and for calib_fringefit_multi_sci_short, ###
### calib_fringefit_solint_sci is taken. ###
### This is referred to as spwpartitioning in the rPICARD source code. ###
### Syntax: '' to disable this feature. ###
### 'a~b,c~d,e~f,...' to split calibration for spws a to b, c to d, e to f, ... with a,b,c,d,e,f, ... ###
### integers. ###
### Example: '0~4,5~9,10~16' to perform separate calibration for spws 0 to 4, 5 to 9, and 10 to 16. ###
### ###
### For each calibration step parameters will be read in as ###
### parameter0 ; parameter1 ; parameter2, ... -> [parameter0, parameter1, parameter2, ...]. ###
calib_accor = calibration_tables/accor.t ; linearperscan ; True ; '' ; '' ; SAMPLER_CORR ; time ; amp ; R,L ; False ; None ; 0 ; '' ; '' ; ''
calib_acscl = calibration_tables/acscl.t ; linearperscan ; True ; '' ; '' ; AC_ADJUST ; time ; amp ; R,L ; False ; None ; 0 ; '' ; '' ; ''
calib_tsys = calibration_tables/tsys.t ; linearperscan ; True ; True ; '' ; TSYS ; time ; tsys ; R,L ; True ; None ; 0 ; '' ; '' ; ''
calib_tsys_add_exptau = calibration_tables/tsys_tauc.t ; linearperscan ; True ; True ; '' ; TSYS ; time ; tsys ; R,L ; True ; None ; 0 ; '' ; '' ; ''
calib_gaincurve = calibration_tables/gc.t ; nearest ; True ; '' ; '' ; GAIN ; elev ; gc ; None ; False ; None ; 0 ; '' ; '' ; ''
calib_ionospheric_tec_map = calibration_tables/tec_map.t ; linear ; True ; '' ; '' ; TEC ; time ; tec ; R,L ; True ; None ; 0 ; '' ; '' ; ''
calib_scalar_bandpass = calibration_tables/bpass_scalar.t ; nearest,linear ; True ; '' ; '' ; SCALAR_BPASS ; freq ; amp ; R,L ; False ; None ; 0 ; '' ; '' ; ''
calib_complex_bandpass = calibration_tables/bpass_complx.t ; nearest,linear ; True ; '' ; '' ; COMPLX_BPASS ; freq ; amp,phase ; R,L ; False ; None ; 0 ; '' ; '' ; ''
calib_fringefit_solint_cal = tmp_fringe_testing/just_a_dummy ; linearperscan ; True ; '' ; '' ; None ; time ; phase,delay,rate,snr ; None ; False ; None ; 0 ; '' ; '' ; ''
calib_fringefit_solint_sci = tmp_fringe_testing/just_a_dummy ; linearperscan ; True ; '' ; '' ; None ; time ; phase,delay,rate,snr ; None ; False ; None ; 0 ; '' ; '' ; ''
calib_fringefit_single = calibration_tables/ff_sb.t ; nearest ; True ; '' ; '' ; FF_SB ; freq ; phase,delay,snr ; R,L ; False ; None ; 0 ; '' ; '' ; ''
calib_fringefit_multi_cal_coher = calibration_tables/ff_mb_cal_c.t ; linearperscan ; True ; True ; True ; FF_MB_CAL_C ; time ; phase,delay,rate,snr ; R,L ; True ; None ; 0 ; '' ; '' ; ''
calib_fringefit_multi_cal_short = calibration_tables/ff_mb_cal_s.t ; linearperscan ; True ; True ; True ; FF_MB_CAL_S ; time ; phase,delay,rate,snr ; R,L ; True ; None ; 0 ; '' ; '' ; ''
calib_fringefit_multi_sci_long = calibration_tables/ff_mb_sci_l.t ; linearperscan ; True ; True ; '' ; FF_MB_SCI_L ; time ; phase,delay,rate,snr ; R,L ; True ; None ; 0 ; '' ; '' ; ''
calib_fringefit_multi_sci_short = calibration_tables/ff_mb_sci_s.t ; linearperscan ; True ; True ; '' ; FF_MB_SCI_S ; time ; phase,delay,rate,snr ; R,L ; True ; None ; 0 ; '' ; '' ; ''
calib_rldelay = calibration_tables/rldelay.t ; nearest ; True ; '' ; '' ; RL_DELAY ; freq ; delay ; RL ; False ; None ; 0 ; '' ; '' ; ''
calib_rlphase = calibration_tables/rlphase.t ; nearest ; True ; '' ; '' ; RL_PHASE ; freq ; phase ; RL ; False ; None ; 0 ; '' ; '' ; ''
calib_dterms = calibration_tables/dterms.t ; nearest ; True ; '' ; '' ; LEAKAGE ; freq ; amp,phase ; R,L ; False ; None ; 0 ; '' ; '' ; ''
calib_phase_offsets_ALMA = calibration_tables/AA_phoff.t_AP ; linearperscan ; True ; '' ; '' ; AA_PHASE ; freq,time ; phase,delay ; R,L ; False ; None ; 0 ; '' ; '' ; ''
calib_alignbands_ffospws = calibration_tables/ff_spw_align.t ; nearest ; True ; '' ; '' ; FF_SPW_ALIGN ; freq ; phase,delay,snr ; R,L ; False ; None ; 0 ; '' ; '' ; ''
calib_coarse_phbpass_ffospws = calibration_tables/ff_sb_coarse.t ; nearest ; True ; '' ; '' ; FF_SB_COARSE ; freq ; phase,delay,snr ; R,L ; False ; None ; 0 ; '' ; '' ; ''
#calib_intermediate_applycal = calibration_tables/just_a_dummy ; linear ; True ; '' ; '' ; None ; freq ; amp ; None ; False ; None; 0 ; '' ; ''
#Indexing scheme for the numbering above.
C_NAM = 0
C_INT = 1
C_CWT = 2
C_GFD = 3
C_FLD = 4
C_DIG = 5
C_XAX = 6
C_YAX = 7
C_PLN = 8
C_SRC = 9
C_SMO = 10
C_STI = 11
C_MED = 12
C_ANT = 13
C_SPW = 14
#length of the array of calibration parameters for each step (highest index number+1).
C_LEN = 15
### End of calibration step parameters ###