Skip to content

Commit

Permalink
Bandpass calibration (task bandpass) runs with uvrange='>15km' by def…
Browse files Browse the repository at this point in the history
…ault.
  • Loading branch information
jmoldon committed Oct 12, 2017
1 parent 638c761 commit 575caa2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions functions/eMERLIN_CASA_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,7 @@ def run_bandpass(msfile, caltables, caltable_name, previous_cal, minblperant=3,
caltables[caltable_name]['spw'],
caltables[caltable_name]['combine'],
caltables[caltable_name]['solnorm']))
logger.info('uvrange = {0}'.format(caltables[caltable_name]['uvrange']))
# Previous calibration
gaintable = [caltables[p]['table'] for p in previous_cal]
interp = [caltables[p]['interp'] for p in previous_cal]
Expand All @@ -826,6 +827,7 @@ def run_bandpass(msfile, caltables, caltable_name, previous_cal, minblperant=3,
combine = caltables[caltable_name]['combine'],
spw = caltables[caltable_name]['spw'],
solnorm = caltables[caltable_name]['solnorm'],
uvrange = caltables[caltable_name]['uvrange'],
fillgaps = 16,
refant = caltables['refant'],
gaintable = gaintable,
Expand Down Expand Up @@ -1082,6 +1084,7 @@ def initial_bp_cal(msfile, caltables, previous_cal, bpcal):
caltables[caltable_name]['spwmap'] = []
caltables[caltable_name]['combine'] = ''
caltables[caltable_name]['spw'] = ''
caltables[caltable_name]['uvrange'] = '>15km'
caltables[caltable_name]['solnorm'] = True
bptable = caltables[caltable_name]['table']
previous_cal_ap_bp = previous_cal_ap + ['bpcal_ap.G1']
Expand Down Expand Up @@ -1258,6 +1261,7 @@ def bandpass_sp(msfile, caltables, previous_cal, bpcal):
caltables[caltable_name]['spwmap'] = []
caltables[caltable_name]['combine'] = ''
caltables[caltable_name]['spw'] = ''
caltables[caltable_name]['uvrange'] = '>15km'
caltables[caltable_name]['solnorm'] = False
bptable = caltables[caltable_name]['table']
# Calibration
Expand Down

0 comments on commit 575caa2

Please sign in to comment.