NRAO Home > CASA > CASA Toolkit Reference Manual
tableplot.iterplotnext - Function

3.2.2 Start/Continue plotting


Description

Start/Continue plotting by stepping through the iteration axes. Call after tp.iterplotstart(). Returns 1 if additional iteration steps remain , 0 if last iteration has completed.

Arguments





Returns
int

Example

 
 
 # iterate through the data  
 
 tp.open(tabnames=[’3c273.ms’,’3c48.ms’])  
 plotopts = {’aspectratio’: 1.2, ’ncols’: 2, ’nrows’: 1}  
 labels = [’Amplitude vs UVdist (iterating over Antenna1)’,  
           ’uvdist’,’amplitude’]  
 xystr = [’SQRT(SUMSQUARE(UVW[1:2]))’,’AMPLITUDE(DATA[1,1])’]  
 iteraxes = [’ANTENNA1’]  
 tp.iterplotstart(poption=plotopts,labels=labels,  
                  datastr=xystr,iteraxes=iteraxes)  
 ret = tp.iterplotnext()  
 ret = tp.iterplotnext()  
 ret = tp.iterplotnext()  
...  
 

__________________________________________________________________


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

Copyright 2016 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