Plotbandpass: Difference between revisions

From CASA Guides
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
This page documents the plotbandpass function of Python module [[Analysis Utilities|analysisUtils]].
This page documents the plotbandpass function of Python module [[Analysis Utilities|analysisUtils]].


The '''plotbandpass''' function provides extended capabilities beyond those of CASA's plotcal. It was written to facilitate rapid visualization of ALMA's bandpass and spectral Tsys measurements in Science Verification and Early Science data, but it can be used on EVLA data as well. It is distributed with the analysisUtils Python module which provides numerous other Python extensions callable from within CASA. The function parameters and some relevant examples are given below. The current list of parameters can always be obtained by giving parameter: '''help=True'''. '''plotbandpass''' has been tested on dual-polarization ALMA data, and single-, dual-, and full-polarization EVLA data.  
The '''plotbandpass''' function provides extended capabilities beyond those of CASA's plotcal. It was written to facilitate rapid visualization of ALMA's bandpass and spectral Tsys measurements in Science Verification and Early Science data, but it can be used on EVLA data as well. It is distributed with the analysisUtils Python module which provides numerous other Python extensions callable from within CASA. The function parameters and some relevant examples are given below. The current list of parameters can always be obtained by giving parameter: '''help=True'''. This function has been tested on dual-polarization ALMA data, and single-, dual-, and full-polarization EVLA data.  


Regarding the '''showatm=True''' parameter, since most people reducing ALMA data do not load the ASDM_CALWVR table into the MS, the atmospheric transmission curve will be computed by default for 1.0 mm, but you can set the PWV to any value using the '''pwv''' option.  If you want the fully correct curve for ALMA, then copy the <tt>CalWVR.xml</tt> file from your ASDM to the present working directory and specify '''pwv='auto' '''.  
Regarding the '''showatm=True''' parameter, since most people reducing ALMA data do not load the ASDM_CALWVR table into the MS, the atmospheric transmission curve will be computed by default for 1.0 mm, but you can set the PWV to any value using the '''pwv''' option.  If you want the fully correct curve for ALMA, then copy the <tt>CalWVR.xml</tt> file from your ASDM to the present working directory and specify '''pwv='auto' '''.  


Most of the regular CASA list syntax is accepted (commas and tildes) but negation via exclamation point is not supported, nor is channel selection within an spw. You are welcome to submit a ticket to the ALMA helpdesk if you want either of these capabilities. If you find any problems or unexpected behavior, please report the following to the [[http://help.almascience.org helpdesk]]:  
Most of the regular CASA list syntax is accepted (commas and tildes) but negation via exclamation point is not supported, nor is channel selection within an spw. You are welcome to submit a ticket to the ALMA helpdesk if you want either of these capabilities. If you find any problems or unexpected behavior, please report the following to the [http://help.almascience.org helpdesk]:  
# the version number you are using, which is printed as the first line of output;  
# the version number you are using, which is printed as the first line of output;  
# the exact command; and  
# the exact command; and  
# a pointer to the dataset.
# a pointer to the dataset.

Revision as of 19:29, 15 December 2011

This page documents the plotbandpass function of Python module analysisUtils.

The plotbandpass function provides extended capabilities beyond those of CASA's plotcal. It was written to facilitate rapid visualization of ALMA's bandpass and spectral Tsys measurements in Science Verification and Early Science data, but it can be used on EVLA data as well. It is distributed with the analysisUtils Python module which provides numerous other Python extensions callable from within CASA. The function parameters and some relevant examples are given below. The current list of parameters can always be obtained by giving parameter: help=True. This function has been tested on dual-polarization ALMA data, and single-, dual-, and full-polarization EVLA data.

Regarding the showatm=True parameter, since most people reducing ALMA data do not load the ASDM_CALWVR table into the MS, the atmospheric transmission curve will be computed by default for 1.0 mm, but you can set the PWV to any value using the pwv option. If you want the fully correct curve for ALMA, then copy the CalWVR.xml file from your ASDM to the present working directory and specify pwv='auto' .

Most of the regular CASA list syntax is accepted (commas and tildes) but negation via exclamation point is not supported, nor is channel selection within an spw. You are welcome to submit a ticket to the ALMA helpdesk if you want either of these capabilities. If you find any problems or unexpected behavior, please report the following to the helpdesk:

  1. the version number you are using, which is printed as the first line of output;
  2. the exact command; and
  3. a pointer to the dataset.