casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
casa::VisSetUtil Class Reference

Utilities for operating on VisSets. More...

#include <VisSetUtil.h>

Static Public Member Functions

static void Sensitivity (VisSet &vs, casacore::Matrix< casacore::Double > &mssFreqSel, casacore::Matrix< casacore::Int > &mssChanSel, casacore::Quantity &pointsourcesens, casacore::Double &relativesens, casacore::Double &sumwt, casacore::Double &effectiveBandwidth, casacore::Double &effectiveIntegration, casacore::Int &nBaselines, casacore::Vector< casacore::Vector< casacore::Int > > &nData, casacore::Vector< casacore::Vector< casacore::Double > > &sumwtChan, casacore::Vector< casacore::Vector< casacore::Double > > &sumwtsqChan, casacore::Vector< casacore::Vector< casacore::Double > > &sumInverseVarianceChan)
 Calculate sensitivity. More...
 
static void Sensitivity (ROVisibilityIterator &vi, casacore::Matrix< casacore::Double > &mssFreqSel, casacore::Matrix< casacore::Int > &mssChanSel, casacore::Quantity &pointsourcesens, casacore::Double &relativesens, casacore::Double &sumwt, casacore::Double &effectiveBandwidth, casacore::Double &effectiveIntegration, casacore::Int &nBaselines, casacore::Vector< casacore::Vector< casacore::Int > > &nData, casacore::Vector< casacore::Vector< casacore::Double > > &sumwtChan, casacore::Vector< casacore::Vector< casacore::Double > > &sumwtsqChan, casacore::Vector< casacore::Vector< casacore::Double > > &sumInverseVarianceChan)
 
static void HanningSmooth (VisSet &vs, const casacore::String &dataCol="corrected", const casacore::Bool &doFlagAndWeight=true)
 Hanning smoothing of spectral channels. More...
 
static void HanningSmooth (VisibilityIterator &vi, const casacore::String &dataCol="corrected", const casacore::Bool &doFlagAndWeight=true)
 
static void UVSub (VisSet &vs, casacore::Bool reverse=false)
 Subtract/add model from/to corrected visibility data. More...
 
static void UVSub (VisibilityIterator &vs, casacore::Bool reverse=false)
 
static void addScrCols (casacore::MeasurementSet &ms, casacore::Bool addModel, casacore::Bool addCorr, casacore::Bool init, casacore::Bool compress)
 Add and (optionally) initialize scratch columns. More...
 
static void initScrCols (casacore::MeasurementSet &ms, casacore::Bool initModel, casacore::Bool initCorr)
 Initialize scr cols. More...
 
static void initScrCols (VisibilityIterator &ms, casacore::Bool initModel, casacore::Bool initCorr)
 
static void remOTFModel (casacore::MeasurementSet &ms)
 Remove OTF model keywords. More...
 
static void remScrCols (casacore::MeasurementSet &ms, casacore::Bool remModel, casacore::Bool remCorr)
 Remove physical scrcols. More...
 
static void removeCalSet (casacore::MeasurementSet &ms, casacore::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 More...

 

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 ( casacore::MeasurementSet ms,
casacore::Bool  addModel,
casacore::Bool  addCorr,
casacore::Bool  init,
casacore::Bool  compress 
)
static

Add and (optionally) initialize scratch columns.

static void casa::VisSetUtil::HanningSmooth ( VisSet vs,
const casacore::String dataCol = "corrected",
const casacore::Bool doFlagAndWeight = true 
)
static

Hanning smoothing of spectral channels.

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

Initialize scr cols.

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

Remove OTF model keywords.

static void casa::VisSetUtil::removeCalSet ( casacore::MeasurementSet ms,
casacore::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 ( casacore::MeasurementSet ms,
casacore::Bool  remModel,
casacore::Bool  remCorr 
)
static

Remove physical scrcols.

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

Calculate sensitivity.

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

Subtract/add model from/to corrected visibility data.

static void casa::VisSetUtil::UVSub ( VisibilityIterator vs,
casacore::Bool  reverse = false 
)
static

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