|
|||
NRAO Home > CASA > CASA Task Reference Manual |
|
0.1.84 plotuv
Requires:
Synopsis
Plot the baseline distribution
Description
Plots the selected baselines of vis one field at a time, in kilowavelengths.
Arguments
Inputs |
| ||
vis |
| Name of input visibility file (MS)
| |
| allowed: | string |
|
| Default: |
|
|
field |
| Select field using ID(s) or name(s)
| |
| allowed: | any |
|
| Default: | variant
|
|
antenna |
| Select data based on antenna/baseline
| |
| allowed: | any |
|
| Default: | variant
|
|
spw |
| Select spectral window/channels
| |
| allowed: | any |
|
| Default: | variant
|
|
observation |
| Select by observation ID(s)
| |
| allowed: | any |
|
| Default: | variant
|
|
array |
| Select (sub)array(s) by array ID number
| |
| allowed: | any |
|
| Default: | variant
|
|
maxnpts |
| Maximum number of points per plot.
| |
| allowed: | int |
|
| Default: | 100000 |
|
colors |
| a list of matplotlib color codes
| |
| allowed: | stringArray |
|
| Default: | r y g b
|
|
symb |
| A matplotlib plot symbol code
| |
| allowed: | string |
|
| Default: | , |
|
ncycles |
| How many times to cycle through colors per plot.
| |
| allowed: | int |
|
| Default: | 1 |
|
figfile |
| Save the plotted figure(s) using this name
| |
| allowed: | string |
|
| Default: |
|
|
bool
Example
Plots the uv coverage of vis in klambda. ncycles of colors will be
allocated to representative wavelengths.
Keyword arguments:
vis -- Name of input visibility file
default: none; example: vis=’ngc5921.ms’
--- Data Selection (see help par.selectdata for more detailed
information)
field -- Select field using field id(s) or field name(s).
[run listobs to obtain the list IDs or names]
default: ’’=all fields. If field is a non-negative
integer, it is assumed to be a field index.
Otherwise, it is assumed to be a field name
field=’0~2’; field ids 0,1,2
field=’0,4,5~7’; field ids 0,4,5,6,7
field=’3C286,3C295’; fields named 3C286 and 3C295
field = ’3,4C*’; field id 3, all names starting with 4C
antenna -- Select data based on antenna/baseline
default: ’’ (all)
Non-negative integers are assumed to be antenna indices, and
anything else is taken as an antenna name.
Examples:
antenna=’5&6’: baseline between antenna index 5 and index 6.
antenna=’VA05&VA06’: baseline between VLA antenna 5 and 6.
antenna=’5&6;7&8’: baselines 5-6 and 7-8
antenna=’5’: all baselines with antenna 5
antenna=’5,6,10’: all baselines including antennas 5, 6, or 10
antenna=’5,6,10&’: all baselines with *only* antennas 5, 6, or
10. (cross-correlations only. Use &&
to include autocorrelations, and &&&
to get only autocorrelations.)
antenna=’!ea03,ea12,ea17’: all baselines except those that
include EVLA antennas ea03, ea12, or
ea17.
spw -- Select spectral windows. Channel selection is ignored for now.
default: ’’=all spectral windows
spw=’0~2,4’; spectral windows 0,1,2,4
spw=’<2’; spectral windows less than 2 (i.e. 0,1)
spw=’0’; spw 0
spw=’0,10,3’; spws 0, 10, and 3
observation -- Select by observation ID(s). default: ’’ = all
array -- (Sub)array number range. default: ’’=all
maxnpts -- Save memory and/or screen space by plotting a maximum of maxnpts
(or all of them if maxnpts < 1). There is a very sharp
slowdown if the plotter starts swapping.
default: 100000
colors -- a list of matplotlib color codes, used in order of decreasing
visibility wavelength.
default: [’r’, ’y’, ’g’, ’b’] (red, yellow, green, blue)
symb -- One of matplotlib’s codes for plot symbols: .:,o^v<>s+xDd234hH|_
default: ’,’: The smallest points I could find.
ncycles -- The number of times colors will be cycled through per plot.
default: 1
figfile -- If not ’’, save the plots using names based on figfile.
Example: if figfile is ’test.png’, and field is ’1,2,4’, the plots
will be saved to test_fld1.png, test_fld2.png,
and test_fld4.png.
default: ’’ (Do not save)
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