ALMA SIS14 apcal
From CASA Guides
# In CASA
listobs("sis14_ampandphase.ms")
# In CASA
os.system("rm -rf phase.cal")
gaincal(vis="sis14_ampandphase.ms",
caltable="phase.cal",
field="0",
solint="inf",
calmode="p",
refant="DV22",
gaintype="G")
# In CASA
plotcal(caltable="phase.cal",
xaxis="time",
yaxis="phase",
subplot=331,
iteration="antenna",
plotrange=[0,0,-180,180])
# In CASA
os.system("rm -rf amp.cal")
gaincal(vis="sis14_ampandphase.ms",
caltable="amp.cal",
field="0",
solint="inf",
calmode="a",
refant="DV22",
gaintype="G",
gaintable="phase.cal")
# In CASA
plotcal(caltable="amp.cal",
xaxis="time",
yaxis="amp",
subplot=331,
iteration="antenna",
plotrange=[0,0,0,0])
# In CASA
os.system("rm -rf phase_int.cal")
gaincal(vis="sis14_ampandphase.ms",
caltable="phase_int.cal",
field="0",
solint="int",
calmode="p",
refant="DV22",
gaintype="G")
# In CASA
plotcal(caltable="phase_int.cal",
xaxis="time",
yaxis="phase",
subplot=331,
iteration="antenna",
plotrange=[0,0,-180,180])