ALMA SIS14 apcal: Difference between revisions
From CASA Guides
Jump to navigationJump to search
Created page with "<source lang="python"> # In CASA listobs("sis14_ampandphase.ms") </source> <source lang="python"> # In CASA os.system("rm -rf phase.cal") gaincal(vis="sis14_ampandphase.ms", ..." |
No edit summary |
||
Line 1: | Line 1: | ||
== Setup == | |||
== Phase Calibration (per Scan) == | |||
<source lang="python"> | <source lang="python"> | ||
# In CASA | # In CASA | ||
Line 25: | Line 29: | ||
plotrange=[0,0,-180,180]) | plotrange=[0,0,-180,180]) | ||
</source> | </source> | ||
== Amplitude Calibration (per Scan) == | |||
<source lang="python"> | <source lang="python"> | ||
Line 48: | Line 54: | ||
plotrange=[0,0,0,0]) | plotrange=[0,0,0,0]) | ||
</source> | </source> | ||
== Phase and Amplitude Calibration (per Integration) == | |||
<source lang="python"> | <source lang="python"> | ||
# In CASA | # In CASA | ||
os.system("rm -rf | os.system("rm -rf apcal_int.cal") | ||
gaincal(vis="sis14_ampandphase.ms", | gaincal(vis="sis14_ampandphase.ms", | ||
caltable=" | caltable="apcal_int.cal", | ||
field="0", | field="0", | ||
solint="int", | solint="int", | ||
calmode=" | calmode="ap", | ||
refant="DV22", | refant="DV22", | ||
gaintype="G") | gaintype="G") | ||
</source> | </source> | ||
Plot the per-integration variation of the phase. | |||
<source lang="python"> | <source lang="python"> | ||
# In CASA | # In CASA | ||
plotcal(caltable=" | plotcal(caltable="apcal_int.cal", | ||
xaxis="time", | xaxis="time", | ||
yaxis="phase", | yaxis="phase", | ||
Line 69: | Line 81: | ||
iteration="antenna", | iteration="antenna", | ||
plotrange=[0,0,-180,180]) | plotrange=[0,0,-180,180]) | ||
</source> | |||
Now plot the per-integration variation of the amplitude. | |||
<source lang="python"> | |||
# In CASA | |||
plotcal(caltable="apcal_int.cal", | |||
xaxis="time", | |||
yaxis="amp", | |||
subplot=331, | |||
iteration="antenna", | |||
plotrange=[0,0,0,0]) | |||
</source> | </source> |
Revision as of 19:47, 26 February 2014
Setup
Phase Calibration (per Scan)
# 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])
Amplitude Calibration (per Scan)
# 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])
Phase and Amplitude Calibration (per Integration)
# In CASA
os.system("rm -rf apcal_int.cal")
gaincal(vis="sis14_ampandphase.ms",
caltable="apcal_int.cal",
field="0",
solint="int",
calmode="ap",
refant="DV22",
gaintype="G")
Plot the per-integration variation of the phase.
# In CASA
plotcal(caltable="apcal_int.cal",
xaxis="time",
yaxis="phase",
subplot=331,
iteration="antenna",
plotrange=[0,0,-180,180])
Now plot the per-integration variation of the amplitude.
# In CASA
plotcal(caltable="apcal_int.cal",
xaxis="time",
yaxis="amp",
subplot=331,
iteration="antenna",
plotrange=[0,0,0,0])