casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions
casa::VisSetUtil Class Reference

Utilities for operating on VisSets. More...

#include <VisSetUtil.h>

List of all members.

Static Public Member Functions

static void Sensitivity (VisSet &vs, Matrix< Double > &mssFreqSel, Matrix< Int > &mssChanSel, Quantity &pointsourcesens, Double &relativesens, Double &sumwt, Vector< Vector< Int > > &nData, Vector< Vector< Double > > &sumwtChan, Vector< Vector< Double > > &sumwtsqChan, Vector< Vector< Double > > &sumInverseVarianceChan)
 Calculate sensitivity.
static void Sensitivity (ROVisibilityIterator &vi, Matrix< Double > &mssFreqSel, Matrix< Int > &mssChanSel, Quantity &pointsourcesens, Double &relativesens, Double &sumwt, Vector< Vector< Int > > &nData, Vector< Vector< Double > > &sumwtChan, Vector< Vector< Double > > &sumwtsqChan, Vector< Vector< Double > > &sumInverseVarianceChan)
static void HanningSmooth (VisSet &vs, const String &dataCol="corrected", const Bool &doFlagAndWeight=True)
 Hanning smoothing of spectral channels.
static void HanningSmooth (VisibilityIterator &vi, const String &dataCol="corrected", const Bool &doFlagAndWeight=True)
static void UVSub (VisSet &vs, Bool reverse=False)
 Subtract/add model from/to corrected visibility data.
static void UVSub (VisibilityIterator &vs, Bool reverse=False)
static void addScrCols (MeasurementSet &ms, Bool addModel, Bool addCorr, Bool init, Bool compress)
 Add and (optionally) initialize scratch columns.
static void initScrCols (MeasurementSet &ms, Bool initModel, Bool initCorr)
 Initialize scr cols.
static void initScrCols (VisibilityIterator &ms, Bool initModel, Bool initCorr)
static void remOTFModel (MeasurementSet &ms)
 Remove OTF model keywords.
static void remScrCols (MeasurementSet &ms, Bool remModel, Bool remCorr)
 Remove physical scrcols.
static void removeCalSet (MeasurementSet &ms, Bool removeModel=False)
 Remove an existing cal set (a CORRECTED_DATA and MODEL_DATA column set and, optionally, any associated compression columns) if removeModel=True...any model for OTF model vis saved in the header is removed.

Detailed Description

Utilities for operating on VisSets.

Etymology

Synopsis

Example

Motivation

Definition at line 69 of file VisSetUtil.h.


Member Function Documentation

static void casa::VisSetUtil::addScrCols ( MeasurementSet ms,
Bool  addModel,
Bool  addCorr,
Bool  init,
Bool  compress 
) [static]

Add and (optionally) initialize scratch columns.

static void casa::VisSetUtil::HanningSmooth ( VisSet vs,
const String dataCol = "corrected",
const Bool doFlagAndWeight = True 
) [static]

Hanning smoothing of spectral channels.

static void casa::VisSetUtil::HanningSmooth ( VisibilityIterator vi,
const String dataCol = "corrected",
const Bool doFlagAndWeight = True 
) [static]
static void casa::VisSetUtil::initScrCols ( MeasurementSet ms,
Bool  initModel,
Bool  initCorr 
) [static]

Initialize scr cols.

static void casa::VisSetUtil::initScrCols ( VisibilityIterator ms,
Bool  initModel,
Bool  initCorr 
) [static]
static void casa::VisSetUtil::remOTFModel ( MeasurementSet ms) [static]

Remove OTF model keywords.

static void casa::VisSetUtil::removeCalSet ( MeasurementSet ms,
Bool  removeModel = False 
) [static]

Remove an existing cal set (a CORRECTED_DATA and MODEL_DATA column set and, optionally, any associated compression columns) if removeModel=True...any model for OTF model vis saved in the header is removed.

static void casa::VisSetUtil::remScrCols ( MeasurementSet ms,
Bool  remModel,
Bool  remCorr 
) [static]

Remove physical scrcols.

static void casa::VisSetUtil::Sensitivity ( VisSet vs,
Matrix< Double > &  mssFreqSel,
Matrix< Int > &  mssChanSel,
Quantity pointsourcesens,
Double relativesens,
Double sumwt,
Vector< Vector< Int > > &  nData,
Vector< Vector< Double > > &  sumwtChan,
Vector< Vector< Double > > &  sumwtsqChan,
Vector< Vector< Double > > &  sumInverseVarianceChan 
) [static]

Calculate sensitivity.

static void casa::VisSetUtil::Sensitivity ( ROVisibilityIterator vi,
Matrix< Double > &  mssFreqSel,
Matrix< Int > &  mssChanSel,
Quantity pointsourcesens,
Double relativesens,
Double sumwt,
Vector< Vector< Int > > &  nData,
Vector< Vector< Double > > &  sumwtChan,
Vector< Vector< Double > > &  sumwtsqChan,
Vector< Vector< Double > > &  sumInverseVarianceChan 
) [static]
static void casa::VisSetUtil::UVSub ( VisSet vs,
Bool  reverse = False 
) [static]

Subtract/add model from/to corrected visibility data.

static void casa::VisSetUtil::UVSub ( VisibilityIterator vs,
Bool  reverse = False 
) [static]

The documentation for this class was generated from the following file: