|
|
|||
| NRAO Home > CASA > CASA Toolkit Reference Manual |
|
||
msmetadata.nrows - Function
1.3.2 Get the number of visibilities (from the main table) associated with the
MS.
Description
Get the number of visibilities (from the main table) associated with the MS.
Arguments
| Inputs |
| ||
| autoc |
| Include autocorrelation data? If False, only cross
correlation rows will be summed. | |
| allowed: | bool |
|
| Default: | true |
|
| flagged |
| Include flagged data? If False, only unflagged or patially
flagged rows will be summed.
| |
| allowed: | bool |
|
| Default: | true |
|
double
Example
msmd.open("my.ms")
# get the total number of rows
nrows = msmd.nrows()
# got the number of cross correlation rows
ncross = msmd.nrows(auto=False)
# get the number of unflagged rows
ngood = msmd.nrows(flagged=False)
# get the number of unflagged cross correlation rows
ncrossunflagged = msmd.nrows(auto=False, flagged=False)
msmd.done()
__________________________________________________________________
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