NRAO Home > CASA > CASA Cookbook and User Reference Manual
3.3.2.9 Averaging in plotxy

The averaging parameters and sub-parameters are:

averagemode      = ’vector’ #  Select averaging type: vector, scalar  
     timebin     =      ’0’ #  length of time in seconds to average, default=’0’, or: ’all’  
     crossscans  =    False #  have time averaging cross over scans?  
     crossbls    =    False #  have averaging cross over baselines?  
     crossarrays =    False #  have averaging cross over arrays?  
     stackspw    =    False #  stack multiple spw on top of each other?  
     width       =      ’1’ #  number of channels to average, default: ’1’, or: ’all’, ’allspw’

The choice of averagemode controls how the amplitudes are calculated in the average. The default mode is ’vector’, where the complex average is formed by averaging the real and imaginary parts of the relevant visibilities. If ’scalar’ is chosen, then the amplitude of the average is formed by a scalar average of the individual visibility amplitudes.

Time averaging is effected by setting the timebin parameter to a value larger than the integration time. Currently, timebin takes a string containing the averaging time in seconds, e.g.

   timebin = ’60.0’

to plot one-minute averages.

Channel averaging is invoked by setting width to a value greater than 1. Currently, the averaging width is given as a number of channels.

By default, the averaging will not cross scan boundaries (as set in the import process). However, if crossscans=True, then averaging will cross scans.

Note that data taken in different sub-arrays are never averaged together. Likewise, there is no way to plot data averaged over field.


More information about CASA may be found at the CASA web page

Copyright © 2010 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search