############################################
#define variables for swarm data reduction #
############################################
datain   = 'SMA181002'
inttime  = 5.2   #~5.16
dinttime = 10.4
tinttime = 16
qsecond  = 30.0
allspw   = '0~15'
allspw1  = '0~15:512~15871'
allspw2  = '0~15:1024~15359'
quadspw  = '0,4,8,12'
nchspw   = 16384
nchnew   =  1792
width0   =    1
width1   =    2
width2   =    4
width3   =    8
width4   =   16
width5   =   32
width6   =   64
width7   =  128
avgchan0 =   '1'
avgchan1 =   '2'
avgchan2 =   '4'
avgchan3 =   '8'
avgchan4 =  '16'
avgchan5 =  '32'
avgchan6 =  '64'
avgchan7 = '128'
#############################################
#user's setup below -                       #
#############################################
#
#Note for import data -                    
#the input measurementSet must be created via the swarm2casa path 
#
#prefix of swarm measurementSet -           
datain   = 'SMA181002'
#full name of swarm measurementSet -        
datainms = 'SMA181002.ms'
#number of channels to average  -        
bw       = width3
#define source code -
CG = '0'   #complex gain calibrator
T1 = '1'   #primary target
T2 = '2'   #secondary target
FL = '3'   #flux density scale calibrator
BP = '4~5'   #bandpass calibrator
BP2 =  '3'
#define source name
BPname = '3c84'
BP2name ='Neptune'
CGname = '2015+371'
T1name = 'CKVul'
T2name = 'mwc349a'
FLname = 'Neptune'
#define reference antenna
rant = '5'
#