NRAO Home > CASA > CASA Toolkit Reference Manual

1.3 ms - Module

Module for measurement set operations

  1.3.1 ms - Tool
    ms.fromfits - Function
    ms.fromfitsidi - Function
    ms.listfits - Function
    ms.createmultims - Function
    ms.ismultims - Function
    ms.getreferencedtables - Function
    ms.getfielddirmeas - Function
    ms.nrow - Function
    ms.iswritable - Function
    ms.open - Function
    ms.reset - Function
    ms.close - Function
    ms.name - Function
    ms.tofits - Function
    ms.summary - Function
    ms.getscansummary - Function
    ms.getspectralwindowinfo - Function
    ms.listhistory - Function
    ms.writehistory - Function
    ms.statistics - Function
    ms.statistics2 - Function
    ms.range - Function
    ms.lister - Function
    ms.metadata - Function
    ms.selectinit - Function
    ms.msselect - Function
    ms.msselectedindices - Function
    ms.select - Function
    ms.selecttaql - Function
    ms.selectchannel - Function
    ms.selectpolarization - Function
    ms.regridspw - Function
    ms.cvel - Function
    ms.cvelfreqs - Function
    ms.getdata - Function
    ms.putdata - Function
    ms.concatenate - Function
    ms.testconcatenate - Function
    ms.virtconcatenate - Function
    ms.timesort - Function
    ms.sort - Function
    ms.contsub - Function
    ms.statwt - Function
    ms.split - Function
    ms.partition - Function
    ms.iterinit - Function
    ms.iterorigin - Function
    ms.iternext - Function
    ms.iterend - Function
    ms.fillbuffer - Function
    ms.diffbuffer - Function
    ms.getbuffer - Function
    ms.clipbuffer - Function
    ms.asdmref - Function
    ms.setbufferflags - Function
    ms.writebufferflags - Function
    ms.clearbuffer - Function
    ms.continuumsub - Function
    ms.done - Function
    ms.msseltoindex - Function
    ms.hanningsmooth - Function
    ms.uvsub - Function
    ms.addephemeris - Function
    ms.ngetdata - Function
    ms.niterinit - Function
    ms.niterorigin - Function
    ms.niternext - Function
    ms.niterend - Function
  1.3.2 msmetadata - Tool
    msmetadata.almaspws - Function
    msmetadata.antennadiameter - Function
    msmetadata.antennaids - Function
    msmetadata.antennanames - Function
    msmetadata.antennaoffset - Function
    msmetadata.antennaposition - Function
    msmetadata.antennastations - Function
    msmetadata.antennasforscan - Function
    msmetadata.bandwidths - Function
    msmetadata.baseband - Function
    msmetadata.baselines - Function
    msmetadata.chanavgspws - Function
    msmetadata.chaneffbws - Function
    msmetadata.chanfreqs - Function
    msmetadata.chanres - Function
    msmetadata.chanwidths - Function
    msmetadata.close - Function
    msmetadata.corrprodsforpol - Function
    msmetadata.corrtypesforpol - Function
    msmetadata.datadescids - Function
    msmetadata.done - Function
    msmetadata.effexposuretime - Function
    msmetadata.exposuretime - Function
    msmetadata.fdmspws - Function
    msmetadata.fieldnames - Function
    msmetadata.fieldsforintent - Function
    msmetadata.fieldsforname - Function
    msmetadata.fieldsforscan - Function
    msmetadata.fieldsforscans - Function
    msmetadata.fieldsforsource - Function
    msmetadata.fieldsforsources - Function
    msmetadata.fieldsforspw - Function
    msmetadata.fieldsfortimes - Function
    msmetadata.intents - Function
    msmetadata.intentsforfield - Function
    msmetadata.intentsforscan - Function
    msmetadata.intentsforspw - Function
    msmetadata.meanfreq - Function
    msmetadata.name - Function
    msmetadata.nantennas - Function
    msmetadata.namesforfields - Function
    msmetadata.namesforspws - Function
    msmetadata.nbaselines - Function
    msmetadata.nchan - Function
    msmetadata.ncorrforpol - Function
    msmetadata.nfields - Function
    msmetadata.nobservations - Function
    msmetadata.nspw - Function
    msmetadata.nstates - Function
    msmetadata.nscans - Function
    msmetadata.nsources - Function
    msmetadata.nrows - Function
    msmetadata.observers - Function
    msmetadata.observatorynames - Function
    msmetadata.observatoryposition - Function
    msmetadata.open - Function
    msmetadata.phasecenter - Function
    msmetadata.pointingdirection - Function
    msmetadata.polidfordatadesc - Function
    msmetadata.projects - Function
    msmetadata.propermotions - Function
    msmetadata.refdir - Function
    msmetadata.reffreq - Function
    msmetadata.restfreqs - Function
    msmetadata.scannumbers - Function
    msmetadata.scansforfield - Function
    msmetadata.scansforfields - Function
    msmetadata.scansforintent - Function
    msmetadata.scansforspw - Function
    msmetadata.scansforspws - Function
    msmetadata.scansforstate - Function
    msmetadata.scansfortimes - Function
    msmetadata.schedule - Function
    msmetadata.sideband - Function
    msmetadata.sourcedirs - Function
    msmetadata.sourceidforfield - Function
    msmetadata.sourceidsfromsourcetable - Function
    msmetadata.sourcenames - Function
    msmetadata.spwsforbaseband - Function
    msmetadata.spwfordatadesc - Function
    msmetadata.spwsforfield - Function
    msmetadata.spwsforfields - Function
    msmetadata.spwsforintent - Function
    msmetadata.spwsfornames - Function
    msmetadata.spwsforscan - Function
    msmetadata.spwsforscans - Function
    msmetadata.statesforscan - Function
    msmetadata.statesforscans - Function
    msmetadata.summary - Function
    msmetadata.tdmspws - Function
    msmetadata.timerangeforobs - Function
    msmetadata.timesforfield - Function
    msmetadata.timesforintent - Function
    msmetadata.timesforscan - Function
    msmetadata.timesforscans - Function
    msmetadata.transitions - Function
    msmetadata.wvrspws - Function
  1.3.3 msplot - Tool
    msplot.msplot - Function
    msplot.open - Function
    msplot.clearplot - Function
    msplot.emperorsNewClose - Function
    msplot.reset - Function
    msplot.closeMS - Function
    msplot.close - Function
    msplot.done - Function
    msplot.plotoptions - Function
    msplot.summary - Function
    msplot.setdata - Function
    msplot.extendflag - Function
    msplot.avedata - Function
    msplot.plot - Function
    msplot.checkplot - Function
    msplot.plotxy - Function
    msplot.checkplotxy - Function
    msplot.iterplotstart - Function
    msplot.iterplotnext - Function
    msplot.iterplotstop - Function
    msplot.savefig - Function
    msplot.markregion - Function
    msplot.flagdata - Function
    msplot.unflagdata - Function
    msplot.clearflags - Function
    msplot.locatedata - Function
    msplot.saveflagversion - Function
    msplot.restoreflagversion - Function
    msplot.deleteflagversion - Function
    msplot.getflagversionlist - Function

Description A CASA measurement set is a CASA table which obeys specific conventions. These conventions are defined in note 229. Like all CASA tables the measurement set will always appear as a directory which contains a number of files and directories.

Measurement set tables come in two slightly different versions, single dish and interferometric. Single dish measurement sets store the observed data as real numbers in the FLOAT_DATA column of the measurement set, whereas interferometric ones use complex numbers in the DATA column.

A measurement set table can contain data from a variety of different observations with different spectral or polarimetric configurations, different pointings and different instruments. To do this it needs to handle data with differing shapes. The data shape referred to here is two-dimensional with the length of the axes being the number of correlations and the number of channels in the data. A typical shape might be [4, 1], which could correspond to a continuum observation where the [RR, LL, RL, LR] polarizations where correlated. In the same measurement set there may be data with a shape of [1, 32], which corresponds to a spectral line observation, with 32 channels, where only the [XX] polarizations are correlated.


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