PlotPWV: Difference between revisions

From CASA Guides
Jump to navigationJump to search
Thunter (talk | contribs)
No edit summary
Thunter (talk | contribs)
No edit summary
Line 7: Line 7:
If you do not have the ASDM_CALWVR table, but you do have the ASDM, you can
If you do not have the ASDM_CALWVR table, but you do have the ASDM, you can
instead use [https://safe.nrao.edu/wiki/bin/view/ALMA/PlotPWVfromASDM plotPWVFromASDM]
instead use [https://safe.nrao.edu/wiki/bin/view/ALMA/PlotPWVfromASDM plotPWVFromASDM]
Help on function plotPWV in module analysisUtils:
<pre>
plotPWV(ms, figfile='', plotrange=[0, 0, 0, 0], clip=True)
    Read and plot the PWV values from the ms via the ASDM_CALWVR table.
    Different antennas are shown in different colored points.
    Arguments:
    ms:  the measurement set
    plotrange: the ranges for the X and Y axes (default=[0,0,0,0] which is autorange)
    clip:  default=True,  True=do not plot outliers beyond 5*MAD from the median.
    figfile: True, False, or a string
            If figfile is not a string, the file created will be <ms>.pwv.png.
</pre>


==Examples==
==Examples==

Revision as of 20:12, 30 March 2012

Return to Analysis Utilities

This page documents the plotPWV function of Python module analysisUtils.

If the ASDM_CALWVR table is present in your ms, this function will extract the PWV values from each ALMA antenna's WVR and create a plot vs. time. If you do not have the ASDM_CALWVR table, but you do have the ASDM, you can instead use plotPWVFromASDM

Help on function plotPWV in module analysisUtils:

plotPWV(ms, figfile='', plotrange=[0, 0, 0, 0], clip=True)
    Read and plot the PWV values from the ms via the ASDM_CALWVR table.
    Different antennas are shown in different colored points.
    Arguments:
    ms:  the measurement set
    plotrange: the ranges for the X and Y axes (default=[0,0,0,0] which is autorange)
    clip:  default=True,  True=do not plot outliers beyond 5*MAD from the median.
    figfile: True, False, or a string
             If figfile is not a string, the file created will be <ms>.pwv.png.

Examples

# In CASA
au.plotPWV(ms='', figfile='', help=True)
au.plotPWV('Band7multi_april22.ms', figfile='Band7multi_april22.ms.png')