Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: ms.iswritable - Function Up: ms - Tool Previous: sdfitstoms - Constructor


ms.nrow - Function



Package general
Module ms
Tool ms


Returns the number of rows in the measurement set


Synopsis
nrow(selected)


Arguments

selected in return number of selected rows
    Allowed: Boolean
    Default: F


Description
This function returns the number of rows in the measurement set. If the optional argument selected is set to T, it returns the number of currently selected rows, otherwise it returns the the number of rows in the original measurement.


Returns
Integer


Example
      include 'ms.g'
      myms := ms('3C273XC1.ms')
      print "Number of rows in ms =", myms.nrow()




next up previous contents index
Next: ms.iswritable - Function Up: ms - Tool Previous: sdfitstoms - Constructor   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01