Tool: ms Operations on measurement sets
Method: ms Create an ms tool attached to a measurement set
filename string measurement set file-name
nomodify bool open for read access only
lock bool lock the table for exclusive use
host string host to start ms tool on
forcenewserver bool start a new server tool
Method: fromfits Create an ms from a uvfits file
msfile string Filename for the newly created measurement set
fitsfile string uvfits file to read
nomodify bool open for read access only
lock bool lock the table for exclusive use
obstype int specify the observation type: 0=standard, 1=fastmosaic, requiring small tiles in the measurementset
host string host to start ms tool on
forcenewserver bool start a new server tool
Method: sdfitstoms Create an ms tool from a SDFITS file
msfile string Filename for the newly created measurement set
fitsfile string SDFITS file to read
nomodify bool open for read access only
lock bool lock the table for exclusive use
host string host to start ms tool on
forcenewserver bool start a new server tool
Method: nrow Returns the number of rows in the measurement set
selected bool return number of selected rows
Method: iswritable Returns True is the underlying Table is writable
Method: open Attach the ms \tool\ to a measurement set table
thems string Name of the measurement set table to open
nomodify bool prevent changes to the measurement set
lock bool lock the table for exclusive use by this tool
Method: close Detach the ms \tool\ from the measurement set table
Method: name Name of the measurement set table the tool is attached to.
Method: command Construct a ms \tool\ using a table query command
msfile string name of selected measurement set table
command string Query string, Any valid table command
nomodify bool prevent changes to the measurement set
Method: tofits Convert a measurement set to a uvfits file
fitsfile string Name of the new uvfits file
column string Data column to write, see above for options
fieldid intArray selection of fields to write out
spwid intArray selection of spectral windows to write out
start int First channel at output
nchan int number of channel to output
width int number of input channels to average for output
writesyscal bool Write GC and TY tables
multisource bool Write in multisource format
combinespw bool Handle spectral window as IF
writestation bool Write station name instead of antenna name
Method: summary Summarize the measurement set
header any Header information
verbose bool Produce verbose logging output
Method: listhistory List history of the measurement set
Method: writehistory Add a row of arbitrary information to the measurement set history table
message string Message to be recorded in message field
parms string String to be written to input parameter field
origin string String to be written to origin field should be ms::writehistory()
msname string name of selected measurement set
app string String to be written to application field
Method: range Get the range of values in the measurement set
items stringArray Item names
useflags bool Use the data flags
blocksize int Set the blocksize in MB
Method: lister List the measurement set's data in a concise form
starttime string Timestamp to begin listing
stoptime string Timestamp to end listing
Method: selectinit Initialize the selection of a MS
datadescid int Data description id
reset bool Reset to unselected state
Method: select Select a subset of the measurement set.
items any record with fields contain ranges and enumerations
Method: selecttaql Select a subset of the measurement set.
msselect string TaQL selection string
Method: selectchannel Select and average frequency channels
nchan int Number of output channels, int > 0
start int First input channel to use, int > 0
width int Number of input channels to average together, int > 0
inc int Increment to next (group of) input channel(s), int > 0
Method: selectpolarization Select and convert of polarizations
wantedpol stringArray The polarizations wanted
Method: getdata Read values from the measurement set.
items stringArray Item names
ifraxis bool Create interferometer axis if true
ifraxisgap int Gap size on ifr axis when antenna1 changes
increment int Row increment for data access
average bool Average the data in time or over rows
Method: putdata Write new values into the measurement set
items any Record with items and their new values
Method: concatenate Concatenate two measurement sets
msfile string The name of the measurement set to append
freqtol double Frequency difference within which 2 spectral windows are considered similar
dirtol double Direction difference within which 2 fields are considered the same
Method: split make a new ms from a subset of actual ms
outputms string The name of the measurement split into
fieldids intArray Field ids to split out 0-based
spwids intArray Spectral windows to split 1-based
nchan intArray number of channels in output Vector Int, length 1 or same length as spwids
start intArray Start channels in input data Vector Int, length 1 or same length as spwids
step intArray number of input channels to average to make 1 output channel Vector Int, length 1 or same as spwids
whichcol string 'DATA', 'MODEL_DATA', 'CORRECTED_DATA'
Method: iterinit Initialize for iteration over a MS
columns stringArray Double quoted string with column names
interval double Time interval in seconds, to group together in iteration, >0
maxrows int Max number of rows to return in iteration, >0
adddefaultsortcolumns bool Add the default sort columns
Method: iterorigin Set the iterator to the start of the data.
Method: iternext Advance the iterator to the next lot of data
Method: iterend End the iteration and reset the selected table
Method: tosdfits Convert a single dish \aipspp\ measurement set to a SDFITS file
fitsfile string Name of the new SDFITS file
Method: createflaghistory Create and initialize the FLAG\_HISTORY column.
numlevel int Number of history levels, >0
Method: saveflags Save the current flagging state to the FLAG\_HISTORY column.
newlevel bool Copy to a new level?
Method: restoreflags Restore the specified flagging level from the FLAG\_HISTORY column.
level int History level to copy from; 0 = current level
Method: flaglevel return the current flagging level
Method: fillbuffer Fill the internal buffer with data and flags.
item string data derived item
ifraxis bool Create interferometer axis if true
Method: diffbuffer Differentiate or difference the internal buffer.
direction string choose between time or channel direction, TIME or CHANNEL
window int width of averaging window in timeslots or channels; >0
Method: getbuffer Return the internal buffer as a Record for access from the intrepreter.
Method: clipbuffer Clip the internal buffer with specified limits.
pixellevel double cliplevel for pixels; >0
timelevel double cliplevel for time slots; >0
channellevel double cliplevel for channels; >0
Method: setbufferflags Set the flags in the buffer
flags any record with flag and flag\_row
Method: writebufferflags Write the flags in the internal buffer back to the table.
Method: clearbuffer Clear the internal buffer.
Method: continuumsub Continuum fitting and subtraction in uv plane
fldid intArray Desired fields to fit
spwid intArray Desired spectral windows to fit; default all
chans intArray Range of channels to fit; default all
solint double Averaging time (s), scans
fitorder int Polynomial order for fit
mode string Desired use of fit model (see below)
Method: uvlsf Continuum fitting and subtraction in uv plane
fldid intArray Desired fields to fit
spwid intArray Desired spectral windows to fit, default all
chans intArray Range of channels to fit, default all
solint double Averaging time (s), scans
fitorder int Polynomial order for fit
mode string Desired use of fit model (see below)
Method: ptsrc Reports global average of visibilities per field
fldid intArray Desired fields, default all
spwid intArray Desired spectral windows, default all
Method: done Delete the ms \tool

-- WesYoung - 17 Jul 2006
Topic revision: r1 - 2006-07-17, WesYoung
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback