NRAO Home > CASA > CASA Toolkit Reference Manual
msplot.plot - Function

1.3.3
Arguments





Inputs

type

The type of plot to do. Valid values are strings for each of the msplot function, the valid strings are: ”array” ”azimuth”, ”baseline”, ”elevation”, ”hourangle”, ”parallacticangle”, ”uvcoverage”, ”uvdist”, ”vischannel”, and ”vistime”

allowed:

string

Default:

column

Column name in main table of measurment set to plot. Valid values are: data, corrected, model, residual, and weight.

allowed:

string

Default:

value

String: amp, phase

allowed:

string

Default:

iteration

List of strings: Antenna1, Antenna2, Feed1, Feed2, Field_id, Scan_number, and Time. Spectral Window/Polarization_id( not available yet )

allowed:

stringArray

Default:

Returns
bool

Example

 
# create a msplot tool.  
mp.open( msname=’./data/ngc7538.ms’);  
 
# Plot the antenna distribution.  
mp.plot( type=’array’ );  
 
# Plot the uv distances with the corrected data column plotted  
# over the data column  
mp.plotoptions( overplot=False, plotcolor=’chocolate’ );  
mp.plot( type=’uvdist’, value=’phase’ );  
mp.plotoptions( overplot=True, plotcolor=’lemonchiffon’ );  
mp.plot( type=’uvdist’, column=’corrected’, value=’phase’ );  
 
# Do an iterative plot on baselines, on the visibility amplitude/channel  
# plot.  We display 6 plots at a time.  
mp.clearplot();  
mp.plotoptions( subplot=231 );  
mp.plot( type=’vischannel’, column=’data’, value=’amp’, iteration=’baseline’ );  
mp.iterplotnext();  
mp.iterplotnext();  
mp.iterplotstop();  

__________________________________________________________________


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