NRAO Home > CASA > CASA Cookbook and User Reference Manual

2.2.7 Listing MS data (listvis)

The listvis task will print to the terminal (or file) listing of the data in your MS. The inputs are:

#  listvis :: List measurement set visibilities.  
vis                 =         ’’        #  Name of input visibility file  
options             =       ’ap’        #  List options: ap only  
datacolumn          =     ’data’        #  Column to list: data, float_data, corrected, model,  
                                        #   residual  
field               =         ’’        #  Field names or index to be listed: ’’==>all  
spw                 =        ’*’        #  Spectral window:channels: ’\*’==>all, spw=’1:5~57’  
selectdata          =      False        #  Other data selection parameters  
observation         =         ’’        #  Select by observation ID(s)  
average             =         ’’        #  Averaging mode: ==>none (Not yet implemented)  
showflags           =      False        #  Show flagged data (Not yet implemented)  
pagerows            =         50        #  Rows per page  
listfile            =         ’’        #  Output file  
async               =      False        #  If true the taskname must be started using listvis(...)

For example:

Units of columns are: Date/Time(YYMMDD/HH:MM:SS UT), UVDist(wavelength), Phase(deg), UVW(m)  
WEIGHT: 7  
FIELD: 2  
SPW: 0  
Date/Time:                           RR:                 RL:                 LR:                 LL:  
2010/04/26/      Intrf UVDist  Chn    Amp     Phs  Wt F   Amp     Phs  Wt F   Amp     Phs  Wt F   Amp     Phs  Wt F         U         V         W  
------------|---------|------|----|--------------------|-------------------|-------------------|-------------------|---------|---------|---------|  
  03:21:56.0 ea01-ea02  72363    0: 0.005  -124.5   7   0.005    25.7   7   0.001   104.6   7   0.000    23.4   7     -501.93   -321.75    157.78  
  03:21:56.0 ea01-ea02  72363    1: 0.001    -4.7   7   0.001  -135.1   7   0.004   -14.6   7   0.001    19.9   7     -501.93   -321.75    157.78  
  03:21:56.0 ea01-ea02  72363    2: 0.002    17.8   7   0.002    34.3   7   0.005  -114.3   7   0.005  -149.7   7     -501.93   -321.75    157.78  
  03:21:56.0 ea01-ea02  72363    3: 0.004   -19.4   7   0.003   -79.2   7   0.002   -89.0   7   0.004    31.3   7     -501.93   -321.75    157.78  
  03:21:56.0 ea01-ea02  72363    4: 0.001   -16.8   7   0.004  -141.5   7   0.005   114.9   7   0.006   105.2   7     -501.93   -321.75    157.78  
  03:21:56.0 ea01-ea02  72363    5: 0.001   -29.8   7   0.009   -96.4   7   0.002  -125.0   7   0.002   -64.5   7     -501.93   -321.75    157.78  
...  
Type Q to quit, A to toggle long/short list, or RETURN to continue [continue]:  

ALERT: We are working on improving the format of the listvis output.


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