29 #ifndef MSVIS_VISSETUTIL_H
30 #define MSVIS_VISSETUTIL_H
A 1-D Specialization of the Array class.
static void HanningSmooth(VisSet &vs, const casacore::String &dataCol="corrected", const casacore::Bool &doFlagAndWeight=true)
Hanning smoothing of spectral channels.
static void remScrCols(casacore::MeasurementSet &ms, casacore::Bool remModel, casacore::Bool remCorr)
Remove physical scrcols.
static void initScrCols(casacore::MeasurementSet &ms, casacore::Bool initModel, casacore::Bool initCorr)
Initialize scr cols.
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.
bool Bool
Define the standard types used by Casacore.
static void UVSub(VisSet &vs, casacore::Bool reverse=false)
Subtract/add model from/to corrected visibility data.
Utilities for operating on VisSets.
A Table intended to hold astronomical data (a set of Measurements).
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
String: the storage and methods of handling collections of characters.
static void remOTFModel(casacore::MeasurementSet &ms)
Remove OTF model keywords.
static void addScrCols(casacore::MeasurementSet &ms, casacore::Bool addModel, casacore::Bool addCorr, casacore::Bool init, casacore::Bool compress)
Add and (optionally) initialize scratch columns.
VisibilityIterator iterates through one or more writable MeasurementSets.
ROVisibilityIterator iterates through one or more readonly MeasurementSets.