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

VisibilityIterator2 iterates through one or more readonly MeasurementSets. More...

#include <TransformingVi2.h>

Inheritance diagram for casa::vi::TransformingVi2:
casa::vi::ViImplementation2 casa::MSTransformIterator casa::vi::AveragingTvi2 casa::vi::CalibratingVi2 casa::vi::FiltrationTVI< Filter > casa::vi::FinalTvi2 casa::vi::FreqAxisTVI casa::vi::PassThroughTVI casa::vi::PhaseShiftTvi casa::vi::PointingInterpolationTVI casa::vi::PolAverageTVI casa::vi::StatWtTVI

Public Member Functions

virtual ~TransformingVi2 ()
 Destructor. More...
 
virtual casacore::String ViiType () const override
 Report the the ViImplementation type (should be specialized in child classes) More...
 
virtual void origin () override
 +==================================+ | | | Iteration Control and Monitoring | | | +==================================+ More...
 
virtual casacore::Bool more () const override
 
virtual void next () override
 
virtual Subchunk getSubchunkId () const override
 
virtual void originChunks (casacore::Bool forceRewind=false) override
 Methods to control chunk iterator. More...
 
virtual casacore::Bool moreChunks () const override
 
virtual void nextChunk () override
 
virtual casacore::String keyChange () const override
 Report Name of slowest column that changes at end of current iteration. More...
 
virtual casacore::Bool isWritable () const override
 
virtual double getInterval () const override
 Return the time interval (in seconds) used for iteration. More...
 
virtual void setInterval (double timeInterval) override
 
virtual void setFrequencySelections (const FrequencySelections &selection) override
 Select the channels to be returned. More...
 
virtual void setRowBlocking (casacore::Int nRows) override
 Set the 'blocking' size for returning data. More...
 
virtual casacore::Bool existsColumn (VisBufferComponent2 id) const override
 
virtual const SortColumnsgetSortColumns () const override
 
virtual casacore::Bool isNewArrayId () const override
 
virtual casacore::Bool isNewFieldId () const override
 
virtual casacore::Bool isNewMs () const override
 
virtual casacore::Bool isNewSpectralWindow () const override
 
virtual casacore::Int nRows () const override
 Return the number of rows in the current iteration. More...
 
virtual void getRowIds (casacore::Vector< casacore::uInt > &rowids) const override
 Return the row ids as from the original root table. More...
 
virtual VisBuffer2getVisBuffer () const override
 
virtual void antenna1 (casacore::Vector< casacore::Int > &ant1) const override
 +=========================+ | | | Subchunk casacore::Data Accessors | | | +=========================+ More...
 
virtual void antenna2 (casacore::Vector< casacore::Int > &ant2) const override
 Return antenna2. More...
 
virtual void corrType (casacore::Vector< casacore::Int > &corrTypes) const override
 Return the correlation type (returns casacore::Stokes enums) More...
 
virtual casacore::Int dataDescriptionId () const override
 Return current DataDescription Id. More...
 
virtual void exposure (casacore::Vector< double > &expo) const override
 Return actual time interval. More...
 
virtual void feed1 (casacore::Vector< casacore::Int > &fd1) const override
 Return feed1. More...
 
virtual void feed2 (casacore::Vector< casacore::Int > &fd2) const override
 Return feed2. More...
 
virtual void fieldIds (casacore::Vector< casacore::Int > &) const override
 Return the current FieldId. More...
 
virtual void arrayIds (casacore::Vector< casacore::Int > &) const override
 Return the current ArrayId. More...
 
virtual casacore::String fieldName () const override
 Return the current Field Name. More...
 
virtual void flag (casacore::Cube< casacore::Bool > &flags) const override
 Return flag for each polarization, channel and row. More...
 
virtual void flag (casacore::Matrix< casacore::Bool > &flags) const override
 Return flag for each channel & row. More...
 
virtual casacore::Bool flagCategoryExists () const override
 Determine whether FLAG_CATEGORY is valid. More...
 
virtual void flagCategory (casacore::Array< casacore::Bool > &flagCategories) const override
 Return flags for each polarization, channel, category, and row. More...
 
virtual void flagRow (casacore::Vector< casacore::Bool > &rowflags) const override
 Return row flag. More...
 
virtual void observationId (casacore::Vector< casacore::Int > &obsids) const override
 Return the OBSERVATION_IDs. More...
 
virtual casacore::Int polarizationId () const override
 Return current Polarization Id. More...
 
virtual void processorId (casacore::Vector< casacore::Int > &procids) const override
 Return the PROCESSOR_IDs. More...
 
virtual void scan (casacore::Vector< casacore::Int > &scans) const override
 Return scan number. More...
 
virtual casacore::String sourceName () const override
 Return the current Source Name. More...
 
virtual void stateId (casacore::Vector< casacore::Int > &stateids) const override
 Return the STATE_IDs. More...
 
virtual void jonesC (casacore::Vector< casacore::SquareMatrix< casacore::Complex, 2 > > &cjones) const override
 Return feed configuration matrix for specified antenna. More...
 
virtual casacore::Int polFrame () const override
 Return frame for polarization (returns PolFrame enum) More...
 
virtual void sigma (casacore::Matrix< casacore::Float > &sigmat) const override
 Return sigma. More...
 
virtual casacore::Int spectralWindow () const override
 Return current SpectralWindow. More...
 
virtual void spectralWindows (casacore::Vector< casacore::Int > &spws) const override
 
virtual void time (casacore::Vector< double > &t) const override
 Return MJD midpoint of interval. More...
 
virtual void timeCentroid (casacore::Vector< double > &t) const override
 Return MJD centroid of interval. More...
 
virtual void timeInterval (casacore::Vector< double > &ti) const override
 Return nominal time interval. More...
 
virtual void uvw (casacore::Matrix< double > &uvwmat) const override
 Return u,v and w (in meters) More...
 
virtual void visibilityCorrected (casacore::Cube< casacore::Complex > &vis) const override
 Return the visibilities as found in the casacore::MS, casacore::Cube (npol,nchan,nrow). More...
 
virtual void visibilityModel (casacore::Cube< casacore::Complex > &vis) const override
 
virtual void visibilityObserved (casacore::Cube< casacore::Complex > &vis) const override
 
virtual void floatData (casacore::Cube< casacore::Float > &fcube) const override
 Return FLOAT_DATA as a casacore::Cube (npol, nchan, nrow) if found in the MS. More...
 
virtual casacore::IPosition visibilityShape () const override
 Return the visibility 4-vector of polarizations for each channel. More...
 
virtual void weight (casacore::Matrix< casacore::Float > &wtmat) const override
 Return weight. More...
 
virtual casacore::Bool weightSpectrumExists () const override
 Determine whether WEIGHT_SPECTRUM exists. More...
 
virtual casacore::Bool sigmaSpectrumExists () const override
 Determine whether SIGMA_SPECTRUM exists. More...
 
virtual void weightSpectrum (casacore::Cube< casacore::Float > &wtsp) const override
 Return weightspectrum (a weight for each channel) More...
 
virtual void sigmaSpectrum (casacore::Cube< casacore::Float > &sigsp) const override
 Return sgimaspectrum (a sigma for each channel) More...
 
virtual casacore::Bool allBeamOffsetsZero () const override
 Return the number of sub-intervals in the current chunk. More...
 
virtual std::pair< bool,
casacore::MDirection
getPointingAngle (int antenna, double time) const override
 
virtual casacore::MDirection azel0 (double time) const override
 Return the antenna AZ/EL casacore::Vector (nant) More...
 
virtual const casacore::Vector
< casacore::MDirection > & 
azel (double time) const override
 static void azel0Calculate (double time, MSDerivedValues & msd, MDirection & azel0, const MEpoch & mEpoch0); More...
 
virtual const casacore::Vector
< casacore::Float > & 
feed_pa (double time) const override
 static void azelCalculate (double time, MSDerivedValues & msd, Vector<MDirection> & azel, Int nAnt, const MEpoch & mEpoch0); More...
 
virtual const casacore::Cube
< casacore::RigidVector
< double, 2 > > & 
getBeamOffsets () const override
 static Vector<Float> feed_paCalculate (double time, MSDerivedValues & msd, Int nAntennas, const MEpoch & mEpoch0, const Vector<Float> & receptor0Angle); More...
 
virtual double hourang (double time) const override
 Return the hour angle for the specified time. More...
 
virtual const casacore::Floatparang0 (double time) const override
 Return nominal parallactic angle at specified time (does not include feed position angle offset–see feed_pa) A global value for all antennas (e.g., small array) More...
 
virtual const casacore::Vector
< casacore::Float > & 
parang (double time) const override
 Per antenna: More...
 
virtual const
casacore::MDirection
phaseCenter () const override
 Return the current phase center as an MDirection. More...
 
virtual const casacore::Cube
< double > & 
receptorAngles () const override
 Return receptor angles for all antennae and feeds First axis of the cube is a receptor number, 2nd is antennaId, 3rd is feedId Note: the method is intended to provide an access to MSIter::receptorAngles for VisBuffer in the multi-feed case. More...
 
virtual const casacore::Vector
< casacore::String > & 
antennaMounts () const override
 +=========================+ | | | Chunk and casacore::MS Level casacore::Data | | | +=========================+ More...
 
virtual casacore::MEpoch getEpoch () const override
 
virtual casacore::Vector<casacore::MPosition> antennaPositions () const;

casacore::MSDerivedValues makeMsd (); More...

 
virtual const VisImagingWeightgetImagingWeightGenerator () const override
 Return imaging weight (a weight for each channel) virtual casacore::Matrix<casacore::Float> & imagingWeight (casacore::Matrix<casacore::Float> & wt) const;. More...
 
virtual casacore::MFrequency::Types getObservatoryFrequencyType () const override
 
virtual casacore::MPosition getObservatoryPosition () const override
 
virtual casacore::Vector
< casacore::Float
getReceptor0Angle () override
 
virtual casacore::Int getReportingFrameOfReference () const override
 
virtual void setReportingFrameOfReference (casacore::Int frame) override
 
virtual casacore::Vector
< casacore::Int
getChannels (double time, casacore::Int frameOfReference, casacore::Int spectralWindowId, casacore::Int msId) const override
 
virtual casacore::Vector
< casacore::Int
getCorrelations () const override
 
virtual casacore::Vector
< casacore::Stokes::StokesTypes
getCorrelationTypesDefined () const override
 
virtual casacore::Vector
< casacore::Stokes::StokesTypes
getCorrelationTypesSelected () const override
 
virtual casacore::Vector< double > getFrequencies (double time, casacore::Int frameOfReference, casacore::Int spectralWindowId, casacore::Int msId) const override
 
virtual void dataDescriptionIds (casacore::Vector< casacore::Int > &) const override
 
virtual casacore::Int msId () const override
 reference to actual ms in interator More...
 
virtual const
casacore::MeasurementSet
ms () const override
 
virtual casacore::Int getNMs () const override
 
virtual casacore::String msName () const override
 Name of nominal MS (will typically be beneath several layers) More...
 
virtual void slurp () const override
 Call to use the slurp i/o method for all scalar columns. More...
 
virtual const vi::SubtableColumnssubtableColumns () const override
 Access the current casacore::ROMSColumns object in MSIter. More...
 
virtual const
SpectralWindowChannels & 
getSpectralWindowChannels (casacore::Int msId, casacore::Int spectralWindowId) const override
 get back the selected spectral windows and spectral channels for current ms More...
 
virtual void useImagingWeight (const VisImagingWeight &imWgt) override
 assign a VisImagingWeight object to this iterator More...
 
virtual casacore::Int nAntennas () const override
 Return number of antennasm spws, polids, ddids. More...
 
virtual casacore::Int nDataDescriptionIds () const override
 
virtual casacore::Int nPolarizationIds () const override
 
virtual casacore::Int nRowsInChunk () const override
 
virtual casacore::Int nRowsViWillSweep () const override
 
virtual casacore::Int nSpectralWindows () const override
 
virtual void writeBackChanges (VisBuffer2 *vb) override
 +----------------—+ | | | Writeback Methods | | | +----------------—+ More...
 
virtual void writeFlag (const casacore::Matrix< casacore::Bool > &flag)
 Write/modify the flags in the data. More...
 
virtual void writeFlag (const casacore::Cube< casacore::Bool > &flag) override
 Write/modify the flags in the data. More...
 
virtual void writeFlagRow (const casacore::Vector< casacore::Bool > &rowflags) override
 Write/modify the flag row column; dimension casacore::Vector (nrow) More...
 
virtual void writeFlagCategory (const casacore::Array< casacore::Bool > &fc) override
 
virtual void writeVisCorrected (const casacore::Cube< casacore::Complex > &vis) override
 Write/modify the visibilities. More...
 
virtual void writeVisModel (const casacore::Cube< casacore::Complex > &vis) override
 
virtual void writeVisObserved (const casacore::Cube< casacore::Complex > &vis) override
 
virtual void writeWeight (const casacore::Matrix< casacore::Float > &wt) override
 Write/modify the weights. More...
 
virtual void writeWeightSpectrum (const casacore::Cube< casacore::Float > &wtsp) override
 
Write/modify the weightMat

virtual void writeWeightMat (const casacore::Matrix<casacore::Float> & wtmat); More...

 
virtual void writeSigmaSpectrum (const casacore::Cube< casacore::Float > &sigsp) override
 Write/modify the sigmaSpectrum. More...
 
virtual void writeSigma (const casacore::Matrix< casacore::Float > &sig) override
 Write/modify the Sigma. More...
 
virtual void writeModel (const casacore::RecordInterface &rec, casacore::Bool iscomponentlist=true, casacore::Bool incremental=false) override
 Write/modify the ncorr x nrow SigmaMat. More...
 
virtual void setWeightScaling (casacore::CountedPtr< WeightScaling > weightscaling) override
 
virtual casacore::Bool hasWeightScaling () const override
 
virtual casacore::CountedPtr
< WeightScaling
getWeightScaling () const override
 
const
casacore::ROMSAntennaColumns
antennaSubtablecols () const override
 
const
casacore::ROMSDataDescColumns
dataDescriptionSubtablecols () const override
 Access to dataDescription subtable. More...
 
const casacore::ROMSFeedColumnsfeedSubtablecols () const override
 Access to feed subtable. More...
 
const casacore::ROMSFieldColumnsfieldSubtablecols () const override
 Access to field subtable. More...
 
const
casacore::ROMSFlagCmdColumns
flagCmdSubtablecols () const override
 Access to flagCmd subtable. More...
 
const
casacore::ROMSHistoryColumns
historySubtablecols () const override
 Access to history subtable. More...
 
const
casacore::ROMSObservationColumns
observationSubtablecols () const override
 Access to observation subtable. More...
 
const
casacore::ROMSPointingColumns
pointingSubtablecols () const override
 Access to pointing subtable. More...
 
const
casacore::ROMSPolarizationColumns
polarizationSubtablecols () const override
 Access to polarization subtable. More...
 
const
casacore::ROMSProcessorColumns
processorSubtablecols () const override
 Access to processor subtable. More...
 
const
casacore::ROMSSpWindowColumns
spectralWindowSubtablecols () const override
 Access to spectralWindow subtable. More...
 
const casacore::ROMSStateColumnsstateSubtablecols () const override
 Access to state subtable. More...
 
const
casacore::ROMSDopplerColumns
dopplerSubtablecols () const override
 Access to doppler subtable. More...
 
const
casacore::ROMSFreqOffsetColumns
freqOffsetSubtablecols () const override
 Access to freqOffset subtable. More...
 
const casacore::ROMSSourceColumnssourceSubtablecols () const override
 Access to source subtable. More...
 
const casacore::ROMSSysCalColumnssysCalSubtablecols () const override
 Access to sysCal subtable. More...
 
const
casacore::ROMSWeatherColumns
weatherSubtablecols () const override
 Access to weather subtable. More...
 
- Public Member Functions inherited from casa::vi::ViImplementation2
 ViImplementation2 (const ViImplementation2 &)=delete
 make noncopyable... More...
 
ViImplementation2operator= (const ViImplementation2 &)=delete
 
 ViImplementation2 ()
 
virtual ~ViImplementation2 ()
 Destructor. More...
 
virtual void initWeightSpectrum (const casacore::Cube< casacore::Float > &)
 Initialize the weightSpectrum. More...
 
virtual void initSigmaSpectrum (const casacore::Cube< casacore::Float > &)
 Initialize the sigmaSpectrum. More...
 

Static Public Member Functions

static double hourangCalculate (double time, casacore::MSDerivedValues &msd, const casacore::MEpoch &mEpoch0)
 
static casacore::Float parang0Calculate (double time, casacore::MSDerivedValues &msd, const casacore::MEpoch &epoch0)
 
static casacore::Vector
< casacore::Float
parangCalculate (double time, casacore::MSDerivedValues &msd, int nAntennas, const casacore::MEpoch mEpoch0)
 
static void calculateFlagRowFromFlagCube (const casacore::Cube< casacore::Bool > &flagCube, casacore::Vector< casacore::Bool > &flagRow)
 Library of static transformations available for all TVIs. More...
 
- Static Public Member Functions inherited from casa::vi::ViImplementation2
static void azel0Calculate (casacore::Double time, casacore::MSDerivedValues &msd, casacore::MDirection &azel0, const casacore::MEpoch &mEpoch0)
 
static void azelCalculate (casacore::Double time, casacore::MSDerivedValues &msd, casacore::Vector< casacore::MDirection > &azel, casacore::Int nAnt, const casacore::MEpoch &mEpoch0)
 
static casacore::Vector
< casacore::Float
feed_paCalculate (casacore::Double time, casacore::MSDerivedValues &msd, casacore::Int nAntennas, const casacore::MEpoch &mEpoch0, const casacore::Vector< casacore::Float > &receptor0Angle)
 
static casacore::Double hourangCalculate (casacore::Double time, casacore::MSDerivedValues &msd, const casacore::MEpoch &mEpoch0)
 
static casacore::Float parang0Calculate (casacore::Double time, casacore::MSDerivedValues &msd, const casacore::MEpoch &epoch0)
 
static casacore::Vector
< casacore::Float
parangCalculate (casacore::Double time, casacore::MSDerivedValues &msd, int nAntennas, const casacore::MEpoch mEpoch0)
 

Protected Member Functions

 TransformingVi2 (ViImplementation2 *inputVi)
 
void configureNewSubchunk ()
 
void configureNewSubchunk (casacore::Int msId, const casacore::String &msName, casacore::Bool isNewMs, casacore::Bool isNewArrayId, casacore::Bool isNewFieldId, casacore::Bool isNewSpectralWindow, const Subchunk &subchunk, casacore::Int nRows, casacore::Int nChannels, casacore::Int nCorrelations, const casacore::Vector< casacore::Int > &correlations, const casacore::Vector< casacore::Stokes::StokesTypes > &correlationsDefined, const casacore::Vector< casacore::Stokes::StokesTypes > &correlationsSelected, casacore::CountedPtr< WeightScaling > weightScaling)
 
VisibilityIterator2getVi () const
 
ViImplementation2getVii () const
 
void setVisBuffer (VisBuffer2 *vb)
 
- Protected Member Functions inherited from casa::vi::ViImplementation2
virtual VisBuffer2createAttachedVisBuffer (VisBufferOptions options)
 
VisBuffer2getVisBuffer (const VisibilityIterator2 *) const
 

Protected Attributes

ViImplementation2inputVii_p
 jagonzal (to be reviewed by jjacobs): I need to set inputVii_p to NULL from MSTransformIterator destructor because MSTransformIteratorFactory is borrowing the ViImplementation2 from the input iterator, which is deleted in the first steps of the MSTransformIterator destructor. More...
 

Private Attributes

VisBuffer2vb_p
 
casacore::CountedPtr
< WeightScaling
weightScaling_p
 

Additional Inherited Members

- Static Protected Member Functions inherited from casa::vi::ViImplementation2
static void doWeightScaling (casacore::Bool hasWeightScaling, WeightScaling *scaling, const casacore::Array< casacore::Float > &unscaled, casacore::Array< casacore::Float > &scaled)
 

Detailed Description

VisibilityIterator2 iterates through one or more readonly MeasurementSets.

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

The VisibilityIterator2 is a readonly iterator returning visibilities

Synopsis

VisibilityIterator2 provides iteration with various sort orders for one or more MSs. It has member functions to retrieve the fields commonly needed in synthesis calibration and imaging.

One should use VisBuffer to access chunks of data.

Example

Motivation

For imaging and calibration you need to access an casacore::MS in some consistent order (by field, spectralwindow, time interval etc.). This class provides that access.

Thrown Exceptions

To Do

Definition at line 111 of file TransformingVi2.h.

Constructor & Destructor Documentation

virtual casa::vi::TransformingVi2::~TransformingVi2 ( )
virtual

Destructor.

casa::vi::TransformingVi2::TransformingVi2 ( ViImplementation2 inputVi)
protected

Member Function Documentation

virtual casacore::Bool casa::vi::TransformingVi2::allBeamOffsetsZero ( ) const
overridevirtual

Return the number of sub-intervals in the current chunk.

+---------------------—+ | | | Angular casacore::Data Providers | | | +---------------------—+

true if all elements of the cube returned by getBeamOffsets are zero

Implements casa::vi::ViImplementation2.

virtual void casa::vi::TransformingVi2::antenna1 ( casacore::Vector< casacore::Int > &  ant1) const
overridevirtual

+=========================+ | | | Subchunk casacore::Data Accessors | | | +=========================+

Return antenna1

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FiltrationTVI< Filter >, and casa::vi::AveragingTvi2.

virtual void casa::vi::TransformingVi2::antenna2 ( casacore::Vector< casacore::Int > &  ant2) const
overridevirtual

Return antenna2.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FiltrationTVI< Filter >, and casa::vi::AveragingTvi2.

virtual const casacore::Vector<casacore::String>& casa::vi::TransformingVi2::antennaMounts ( ) const
overridevirtual

+=========================+ | | | Chunk and casacore::MS Level casacore::Data | | | +=========================+

return a string mount identifier for each antenna

Implements casa::vi::ViImplementation2.

const casacore::ROMSAntennaColumns& casa::vi::TransformingVi2::antennaSubtablecols ( ) const
overridevirtual
virtual void casa::vi::TransformingVi2::arrayIds ( casacore::Vector< casacore::Int > &  ) const
overridevirtual

Return the current ArrayId.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FiltrationTVI< Filter >.

virtual const casacore::Vector<casacore::MDirection>& casa::vi::TransformingVi2::azel ( double  time) const
overridevirtual

static void azel0Calculate (double time, MSDerivedValues & msd, MDirection & azel0, const MEpoch & mEpoch0);

Implements casa::vi::ViImplementation2.

virtual casacore::MDirection casa::vi::TransformingVi2::azel0 ( double  time) const
overridevirtual

Return the antenna AZ/EL casacore::Vector (nant)

Implements casa::vi::ViImplementation2.

static void casa::vi::TransformingVi2::calculateFlagRowFromFlagCube ( const casacore::Cube< casacore::Bool > &  flagCube,
casacore::Vector< casacore::Bool > &  flagRow 
)
static

Library of static transformations available for all TVIs.

void casa::vi::TransformingVi2::configureNewSubchunk ( )
protected
void casa::vi::TransformingVi2::configureNewSubchunk ( casacore::Int  msId,
const casacore::String msName,
casacore::Bool  isNewMs,
casacore::Bool  isNewArrayId,
casacore::Bool  isNewFieldId,
casacore::Bool  isNewSpectralWindow,
const Subchunk &  subchunk,
casacore::Int  nRows,
casacore::Int  nChannels,
casacore::Int  nCorrelations,
const casacore::Vector< casacore::Int > &  correlations,
const casacore::Vector< casacore::Stokes::StokesTypes > &  correlationsDefined,
const casacore::Vector< casacore::Stokes::StokesTypes > &  correlationsSelected,
casacore::CountedPtr< WeightScaling weightScaling 
)
protected
virtual void casa::vi::TransformingVi2::corrType ( casacore::Vector< casacore::Int > &  corrTypes) const
overridevirtual

Return the correlation type (returns casacore::Stokes enums)

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::PolAverageTVI.

virtual casacore::Int casa::vi::TransformingVi2::dataDescriptionId ( ) const
overridevirtual

Return current DataDescription Id.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::TransformingVi2::dataDescriptionIds ( casacore::Vector< casacore::Int > &  ) const
overridevirtual
const casacore::ROMSDataDescColumns& casa::vi::TransformingVi2::dataDescriptionSubtablecols ( ) const
overridevirtual

Access to dataDescription subtable.

Implements casa::vi::ViImplementation2.

const casacore::ROMSDopplerColumns& casa::vi::TransformingVi2::dopplerSubtablecols ( ) const
overridevirtual

Access to doppler subtable.

Implements casa::vi::ViImplementation2.

virtual casacore::Bool casa::vi::TransformingVi2::existsColumn ( VisBufferComponent2  id) const
overridevirtual
virtual void casa::vi::TransformingVi2::exposure ( casacore::Vector< double > &  expo) const
overridevirtual

Return actual time interval.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FiltrationTVI< Filter >, and casa::vi::AveragingTvi2.

virtual void casa::vi::TransformingVi2::feed1 ( casacore::Vector< casacore::Int > &  fd1) const
overridevirtual

Return feed1.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FiltrationTVI< Filter >.

virtual void casa::vi::TransformingVi2::feed2 ( casacore::Vector< casacore::Int > &  fd2) const
overridevirtual

Return feed2.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FiltrationTVI< Filter >.

virtual const casacore::Vector<casacore::Float>& casa::vi::TransformingVi2::feed_pa ( double  time) const
overridevirtual

static void azelCalculate (double time, MSDerivedValues & msd, Vector<MDirection> & azel, Int nAnt, const MEpoch & mEpoch0);

Return feed parallactic angles casacore::Vector (nant) (1 feed/ant)

Implements casa::vi::ViImplementation2.

const casacore::ROMSFeedColumns& casa::vi::TransformingVi2::feedSubtablecols ( ) const
overridevirtual

Access to feed subtable.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::TransformingVi2::fieldIds ( casacore::Vector< casacore::Int > &  ) const
overridevirtual

Return the current FieldId.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FiltrationTVI< Filter >.

virtual casacore::String casa::vi::TransformingVi2::fieldName ( ) const
overridevirtual

Return the current Field Name.

Implements casa::vi::ViImplementation2.

const casacore::ROMSFieldColumns& casa::vi::TransformingVi2::fieldSubtablecols ( ) const
overridevirtual

Access to field subtable.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::TransformingVi2::flag ( casacore::Cube< casacore::Bool > &  flags) const
overridevirtual
virtual void casa::vi::TransformingVi2::flag ( casacore::Matrix< casacore::Bool > &  flags) const
overridevirtual

Return flag for each channel & row.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FiltrationTVI< Filter >, and casa::vi::PolAverageTVI.

virtual void casa::vi::TransformingVi2::flagCategory ( casacore::Array< casacore::Bool > &  flagCategories) const
overridevirtual

Return flags for each polarization, channel, category, and row.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FiltrationTVI< Filter >.

virtual casacore::Bool casa::vi::TransformingVi2::flagCategoryExists ( ) const
overridevirtual

Determine whether FLAG_CATEGORY is valid.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FreqAxisTVI.

const casacore::ROMSFlagCmdColumns& casa::vi::TransformingVi2::flagCmdSubtablecols ( ) const
overridevirtual

Access to flagCmd subtable.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::TransformingVi2::flagRow ( casacore::Vector< casacore::Bool > &  rowflags) const
overridevirtual
virtual void casa::vi::TransformingVi2::floatData ( casacore::Cube< casacore::Float > &  fcube) const
overridevirtual
const casacore::ROMSFreqOffsetColumns& casa::vi::TransformingVi2::freqOffsetSubtablecols ( ) const
overridevirtual

Access to freqOffset subtable.

Implements casa::vi::ViImplementation2.

virtual const casacore::Cube<casacore::RigidVector<double, 2> >& casa::vi::TransformingVi2::getBeamOffsets ( ) const
overridevirtual

static Vector<Float> feed_paCalculate (double time, MSDerivedValues & msd, Int nAntennas, const MEpoch & mEpoch0, const Vector<Float> & receptor0Angle);

Return a cube containing pairs of coordinate offsets for each receptor of each feed (values are in radians, coordinate system is fixed with antenna and is the same one as used to define the BEAM_OFFSET parameter in the feed table). The cube axes are receptor, antenna, feed.

Implements casa::vi::ViImplementation2.

virtual casacore::Vector<casacore::Int> casa::vi::TransformingVi2::getChannels ( double  time,
casacore::Int  frameOfReference,
casacore::Int  spectralWindowId,
casacore::Int  msId 
) const
overridevirtual

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FreqAxisTVI.

virtual casacore::Vector<casacore::Int> casa::vi::TransformingVi2::getCorrelations ( ) const
overridevirtual
virtual casacore::Vector<casacore::Stokes::StokesTypes> casa::vi::TransformingVi2::getCorrelationTypesDefined ( ) const
overridevirtual
virtual casacore::Vector<casacore::Stokes::StokesTypes> casa::vi::TransformingVi2::getCorrelationTypesSelected ( ) const
overridevirtual
virtual casacore::MEpoch casa::vi::TransformingVi2::getEpoch ( ) const
overridevirtual

virtual casacore::Vector<casacore::MPosition> antennaPositions () const;

casacore::MSDerivedValues makeMsd ();

Implements casa::vi::ViImplementation2.

virtual casacore::Vector<double> casa::vi::TransformingVi2::getFrequencies ( double  time,
casacore::Int  frameOfReference,
casacore::Int  spectralWindowId,
casacore::Int  msId 
) const
overridevirtual
virtual const VisImagingWeight& casa::vi::TransformingVi2::getImagingWeightGenerator ( ) const
overridevirtual

Return imaging weight (a weight for each channel) virtual casacore::Matrix<casacore::Float> & imagingWeight (casacore::Matrix<casacore::Float> & wt) const;.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::PolAverageTVI.

virtual double casa::vi::TransformingVi2::getInterval ( ) const
overridevirtual

Return the time interval (in seconds) used for iteration.

This is not the same as the INTERVAL column. Setting the the interval requires calling origin chunks before performing further iterator.

Implements casa::vi::ViImplementation2.

virtual casacore::Int casa::vi::TransformingVi2::getNMs ( ) const
overridevirtual
virtual casacore::MFrequency::Types casa::vi::TransformingVi2::getObservatoryFrequencyType ( ) const
overridevirtual
virtual casacore::MPosition casa::vi::TransformingVi2::getObservatoryPosition ( ) const
overridevirtual
virtual std::pair<bool, casacore::MDirection> casa::vi::TransformingVi2::getPointingAngle ( int  antenna,
double  time 
) const
overridevirtual
virtual casacore::Vector<casacore::Float> casa::vi::TransformingVi2::getReceptor0Angle ( )
overridevirtual
virtual casacore::Int casa::vi::TransformingVi2::getReportingFrameOfReference ( ) const
overridevirtual
virtual void casa::vi::TransformingVi2::getRowIds ( casacore::Vector< casacore::uInt > &  rowids) const
overridevirtual

Return the row ids as from the original root table.

This is useful to find correspondance between a given row in this iteration to the original ms row

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FiltrationTVI< Filter >, and casa::vi::AveragingTvi2.

virtual const SortColumns& casa::vi::TransformingVi2::getSortColumns ( ) const
overridevirtual
virtual const SpectralWindowChannels& casa::vi::TransformingVi2::getSpectralWindowChannels ( casacore::Int  msId,
casacore::Int  spectralWindowId 
) const
overridevirtual

get back the selected spectral windows and spectral channels for current ms

Implements casa::vi::ViImplementation2.

virtual Subchunk casa::vi::TransformingVi2::getSubchunkId ( ) const
overridevirtual
VisibilityIterator2* casa::vi::TransformingVi2::getVi ( ) const
protected
ViImplementation2* casa::vi::TransformingVi2::getVii ( ) const
protected
virtual VisBuffer2* casa::vi::TransformingVi2::getVisBuffer ( ) const
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Reimplemented in casa::MSTransformIterator.

Definition at line 188 of file TransformingVi2.h.

References vb_p.

Referenced by casa::vi::FreqAxisTVI::transformFreqAxis().

virtual casacore::CountedPtr<WeightScaling> casa::vi::TransformingVi2::getWeightScaling ( ) const
overridevirtual
virtual casacore::Bool casa::vi::TransformingVi2::hasWeightScaling ( ) const
overridevirtual
const casacore::ROMSHistoryColumns& casa::vi::TransformingVi2::historySubtablecols ( ) const
overridevirtual

Access to history subtable.

Implements casa::vi::ViImplementation2.

virtual double casa::vi::TransformingVi2::hourang ( double  time) const
overridevirtual

Return the hour angle for the specified time.

Implements casa::vi::ViImplementation2.

static double casa::vi::TransformingVi2::hourangCalculate ( double  time,
casacore::MSDerivedValues msd,
const casacore::MEpoch mEpoch0 
)
static
virtual casacore::Bool casa::vi::TransformingVi2::isNewArrayId ( ) const
overridevirtual
virtual casacore::Bool casa::vi::TransformingVi2::isNewFieldId ( ) const
overridevirtual
virtual casacore::Bool casa::vi::TransformingVi2::isNewMs ( ) const
overridevirtual
virtual casacore::Bool casa::vi::TransformingVi2::isNewSpectralWindow ( ) const
overridevirtual
virtual casacore::Bool casa::vi::TransformingVi2::isWritable ( ) const
overridevirtual
virtual void casa::vi::TransformingVi2::jonesC ( casacore::Vector< casacore::SquareMatrix< casacore::Complex, 2 > > &  cjones) const
overridevirtual

Return feed configuration matrix for specified antenna.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FiltrationTVI< Filter >, and casa::vi::PolAverageTVI.

virtual casacore::String casa::vi::TransformingVi2::keyChange ( ) const
inlineoverridevirtual

Report Name of slowest column that changes at end of current iteration.

Implements casa::vi::ViImplementation2.

Definition at line 144 of file TransformingVi2.h.

References getVii(), and casa::vi::ViImplementation2::keyChange().

virtual casacore::Bool casa::vi::TransformingVi2::more ( ) const
overridevirtual
virtual casacore::Bool casa::vi::TransformingVi2::moreChunks ( ) const
overridevirtual
virtual const casacore::MeasurementSet& casa::vi::TransformingVi2::ms ( ) const
overridevirtual
virtual casacore::Int casa::vi::TransformingVi2::msId ( ) const
overridevirtual

reference to actual ms in interator

Implements casa::vi::ViImplementation2.

virtual casacore::String casa::vi::TransformingVi2::msName ( ) const
overridevirtual

Name of nominal MS (will typically be beneath several layers)

Implements casa::vi::ViImplementation2.

virtual casacore::Int casa::vi::TransformingVi2::nAntennas ( ) const
overridevirtual

Return number of antennasm spws, polids, ddids.

Implements casa::vi::ViImplementation2.

virtual casacore::Int casa::vi::TransformingVi2::nDataDescriptionIds ( ) const
overridevirtual
virtual void casa::vi::TransformingVi2::next ( )
overridevirtual
virtual void casa::vi::TransformingVi2::nextChunk ( )
overridevirtual
virtual casacore::Int casa::vi::TransformingVi2::nPolarizationIds ( ) const
overridevirtual
virtual casacore::Int casa::vi::TransformingVi2::nRows ( ) const
overridevirtual

Return the number of rows in the current iteration.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FiltrationTVI< Filter >.

Referenced by casa::vi::FreqAxisTVI::transformFreqAxis(), and casa::vi::FreqAxisTVI::transformFreqAxis2().

virtual casacore::Int casa::vi::TransformingVi2::nRowsInChunk ( ) const
overridevirtual
virtual casacore::Int casa::vi::TransformingVi2::nRowsViWillSweep ( ) const
overridevirtual
virtual casacore::Int casa::vi::TransformingVi2::nSpectralWindows ( ) const
overridevirtual
virtual void casa::vi::TransformingVi2::observationId ( casacore::Vector< casacore::Int > &  obsids) const
overridevirtual

Return the OBSERVATION_IDs.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FiltrationTVI< Filter >.

const casacore::ROMSObservationColumns& casa::vi::TransformingVi2::observationSubtablecols ( ) const
overridevirtual

Access to observation subtable.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::TransformingVi2::origin ( )
overridevirtual

+==================================+ | | | Iteration Control and Monitoring | | | +==================================+

Methods to control and monitor subchunk iteration

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::CalSolvingVi2, casa::vi::FiltrationTVI< Filter >, casa::vi::PolAverageTVI, casa::vi::FinalTvi2, casa::vi::StatWtTVI, casa::vi::CalibratingVi2, casa::vi::RegriddingTVI, casa::vi::PointingInterpolationTVI, casa::vi::AveragingTvi2, casa::vi::FreqAxisTVI, casa::MSTransformIterator, and casa::vi::PassThroughTVI.

virtual void casa::vi::TransformingVi2::originChunks ( casacore::Bool  forceRewind = false)
overridevirtual
virtual const casacore::Vector<casacore::Float>& casa::vi::TransformingVi2::parang ( double  time) const
overridevirtual

Per antenna:

Implements casa::vi::ViImplementation2.

virtual const casacore::Float& casa::vi::TransformingVi2::parang0 ( double  time) const
overridevirtual

Return nominal parallactic angle at specified time (does not include feed position angle offset–see feed_pa) A global value for all antennas (e.g., small array)

Implements casa::vi::ViImplementation2.

static casacore::Float casa::vi::TransformingVi2::parang0Calculate ( double  time,
casacore::MSDerivedValues msd,
const casacore::MEpoch epoch0 
)
static
static casacore::Vector<casacore::Float> casa::vi::TransformingVi2::parangCalculate ( double  time,
casacore::MSDerivedValues msd,
int  nAntennas,
const casacore::MEpoch  mEpoch0 
)
static
virtual const casacore::MDirection& casa::vi::TransformingVi2::phaseCenter ( ) const
overridevirtual

Return the current phase center as an MDirection.

Implements casa::vi::ViImplementation2.

const casacore::ROMSPointingColumns& casa::vi::TransformingVi2::pointingSubtablecols ( ) const
overridevirtual

Access to pointing subtable.

Implements casa::vi::ViImplementation2.

virtual casacore::Int casa::vi::TransformingVi2::polarizationId ( ) const
overridevirtual

Return current Polarization Id.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::PolAverageTVI.

const casacore::ROMSPolarizationColumns& casa::vi::TransformingVi2::polarizationSubtablecols ( ) const
overridevirtual

Access to polarization subtable.

Implements casa::vi::ViImplementation2.

virtual casacore::Int casa::vi::TransformingVi2::polFrame ( ) const
overridevirtual

Return frame for polarization (returns PolFrame enum)

Implements casa::vi::ViImplementation2.

virtual void casa::vi::TransformingVi2::processorId ( casacore::Vector< casacore::Int > &  procids) const
overridevirtual

Return the PROCESSOR_IDs.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FiltrationTVI< Filter >.

const casacore::ROMSProcessorColumns& casa::vi::TransformingVi2::processorSubtablecols ( ) const
overridevirtual

Access to processor subtable.

Implements casa::vi::ViImplementation2.

virtual const casacore::Cube<double>& casa::vi::TransformingVi2::receptorAngles ( ) const
overridevirtual

Return receptor angles for all antennae and feeds First axis of the cube is a receptor number, 2nd is antennaId, 3rd is feedId Note: the method is intended to provide an access to MSIter::receptorAngles for VisBuffer in the multi-feed case.

It may be worth to change the interface of feed_pa to return the information for all feeds.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::TransformingVi2::scan ( casacore::Vector< casacore::Int > &  scans) const
overridevirtual

Return scan number.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FiltrationTVI< Filter >.

virtual void casa::vi::TransformingVi2::setFrequencySelections ( const FrequencySelections selection)
overridevirtual

Select the channels to be returned.

Requires calling originChunks before performing additional iteration.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::TransformingVi2::setInterval ( double  timeInterval)
overridevirtual
virtual void casa::vi::TransformingVi2::setReportingFrameOfReference ( casacore::Int  frame)
overridevirtual
virtual void casa::vi::TransformingVi2::setRowBlocking ( casacore::Int  nRows)
overridevirtual

Set the 'blocking' size for returning data.

With the default (0) only a single integration is returned at a time, this is what is currently required for the calibration software. With blocking set, up to nRows can be returned in one go. The chunk size determines the actual maximum.

Implements casa::vi::ViImplementation2.

void casa::vi::TransformingVi2::setVisBuffer ( VisBuffer2 vb)
protected
virtual void casa::vi::TransformingVi2::setWeightScaling ( casacore::CountedPtr< WeightScaling weightscaling)
overridevirtual
virtual void casa::vi::TransformingVi2::sigma ( casacore::Matrix< casacore::Float > &  sigmat) const
overridevirtual
virtual void casa::vi::TransformingVi2::sigmaSpectrum ( casacore::Cube< casacore::Float > &  wtsp) const
overridevirtual
virtual casacore::Bool casa::vi::TransformingVi2::sigmaSpectrumExists ( ) const
overridevirtual

Determine whether SIGMA_SPECTRUM exists.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::RegriddingTVI, casa::vi::AveragingTvi2, casa::vi::ChannelAverageTVI, and casa::vi::ConvolutionTVI.

virtual void casa::vi::TransformingVi2::slurp ( ) const
overridevirtual

Call to use the slurp i/o method for all scalar columns.

This will set the casacore::BucketCache cache size to the full column length and cause the full column to be cached in memory, if any value of the column is used. In case of out-of-memory, it will automatically fall-back on the smaller cache size. Slurping the column is to be considered as a work-around for the casacore::Table i/o code, which uses casacore::BucketCache and performs extremely bad for random access. Slurping is useful when iterating non-sequentially an casacore::MS or parts of an casacore::MS, it is not tested with multiple MSs.

Implements casa::vi::ViImplementation2.

virtual casacore::String casa::vi::TransformingVi2::sourceName ( ) const
overridevirtual

Return the current Source Name.

Implements casa::vi::ViImplementation2.

const casacore::ROMSSourceColumns& casa::vi::TransformingVi2::sourceSubtablecols ( ) const
overridevirtual

Access to source subtable.

Implements casa::vi::ViImplementation2.

virtual casacore::Int casa::vi::TransformingVi2::spectralWindow ( ) const
overridevirtual

Return current SpectralWindow.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::TransformingVi2::spectralWindows ( casacore::Vector< casacore::Int > &  spws) const
overridevirtual
const casacore::ROMSSpWindowColumns& casa::vi::TransformingVi2::spectralWindowSubtablecols ( ) const
overridevirtual

Access to spectralWindow subtable.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::TransformingVi2::stateId ( casacore::Vector< casacore::Int > &  stateids) const
overridevirtual

Return the STATE_IDs.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FiltrationTVI< Filter >.

const casacore::ROMSStateColumns& casa::vi::TransformingVi2::stateSubtablecols ( ) const
overridevirtual

Access to state subtable.

Implements casa::vi::ViImplementation2.

virtual const vi::SubtableColumns& casa::vi::TransformingVi2::subtableColumns ( ) const
overridevirtual

Access the current casacore::ROMSColumns object in MSIter.

Implements casa::vi::ViImplementation2.

const casacore::ROMSSysCalColumns& casa::vi::TransformingVi2::sysCalSubtablecols ( ) const
overridevirtual

Access to sysCal subtable.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::TransformingVi2::time ( casacore::Vector< double > &  t) const
overridevirtual

Return MJD midpoint of interval.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FiltrationTVI< Filter >, and casa::vi::AveragingTvi2.

virtual void casa::vi::TransformingVi2::timeCentroid ( casacore::Vector< double > &  t) const
overridevirtual

Return MJD centroid of interval.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FiltrationTVI< Filter >, and casa::vi::AveragingTvi2.

virtual void casa::vi::TransformingVi2::timeInterval ( casacore::Vector< double > &  ti) const
overridevirtual

Return nominal time interval.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FiltrationTVI< Filter >, and casa::vi::AveragingTvi2.

virtual void casa::vi::TransformingVi2::useImagingWeight ( const VisImagingWeight imWgt)
overridevirtual

assign a VisImagingWeight object to this iterator

Implements casa::vi::ViImplementation2.

virtual void casa::vi::TransformingVi2::uvw ( casacore::Matrix< double > &  uvwmat) const
overridevirtual

Return u,v and w (in meters)

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FiltrationTVI< Filter >, and casa::vi::AveragingTvi2.

virtual casacore::String casa::vi::TransformingVi2::ViiType ( ) const
inlineoverridevirtual
virtual void casa::vi::TransformingVi2::visibilityCorrected ( casacore::Cube< casacore::Complex > &  vis) const
overridevirtual
virtual void casa::vi::TransformingVi2::visibilityModel ( casacore::Cube< casacore::Complex > &  vis) const
overridevirtual
virtual void casa::vi::TransformingVi2::visibilityObserved ( casacore::Cube< casacore::Complex > &  vis) const
overridevirtual
virtual casacore::IPosition casa::vi::TransformingVi2::visibilityShape ( ) const
overridevirtual

Return the visibility 4-vector of polarizations for each channel.

If the casacore::MS doesn't contain all polarizations, it is assumed it contains one or two parallel hand polarizations.

virtual void visibilityCorrected (casacore::Matrix<CStokesVector> & vis) const; virtual void visibilityModel (casacore::Matrix<CStokesVector> & vis) const; virtual void visibilityObserved (casacore::Matrix<CStokesVector> & vis) const;

Return the shape of the visibility Cube

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FiltrationTVI< Filter >, and casa::vi::PolAverageTVI.

const casacore::ROMSWeatherColumns& casa::vi::TransformingVi2::weatherSubtablecols ( ) const
overridevirtual

Access to weather subtable.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::TransformingVi2::weight ( casacore::Matrix< casacore::Float > &  wtmat) const
overridevirtual
virtual void casa::vi::TransformingVi2::weightSpectrum ( casacore::Cube< casacore::Float > &  wtsp) const
overridevirtual
virtual casacore::Bool casa::vi::TransformingVi2::weightSpectrumExists ( ) const
overridevirtual
virtual void casa::vi::TransformingVi2::writeBackChanges ( VisBuffer2 vb)
overridevirtual

+----------------—+ | | | Writeback Methods | | | +----------------—+

This method writes back any changed (dirty) components of the provided VisBuffer and is the preferred method for writing data out.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FinalTvi2, and casa::vi::StatWtTVI.

virtual void casa::vi::TransformingVi2::writeFlag ( const casacore::Matrix< casacore::Bool > &  flag)
virtual

Write/modify the flags in the data.

This will flag all channels in the original data that contributed to the output channel in the case of channel averaging. All polarizations have the same flag value.

Reimplemented in casa::vi::FinalTvi2.

virtual void casa::vi::TransformingVi2::writeFlag ( const casacore::Cube< casacore::Bool > &  flag)
overridevirtual

Write/modify the flags in the data.

This writes the flags as found in the casacore::MS, casacore::Cube (npol,nchan,nrow), where nrow is the number of rows in the current iteration (given by nRow ()).

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FinalTvi2, casa::vi::ChannelAverageTVI, casa::vi::AveragingTvi2, and casa::MSTransformIterator.

virtual void casa::vi::TransformingVi2::writeFlagCategory ( const casacore::Array< casacore::Bool > &  fc)
overridevirtual

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FinalTvi2.

virtual void casa::vi::TransformingVi2::writeFlagRow ( const casacore::Vector< casacore::Bool > &  rowflags)
overridevirtual

Write/modify the flag row column; dimension casacore::Vector (nrow)

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FinalTvi2, casa::vi::FreqAxisTVI, casa::vi::AveragingTvi2, and casa::MSTransformIterator.

virtual void casa::vi::TransformingVi2::writeModel ( const casacore::RecordInterface rec,
casacore::Bool  iscomponentlist = true,
casacore::Bool  incremental = false 
)
overridevirtual

Write/modify the ncorr x nrow SigmaMat.

virtual void writeSigmaMat (const casacore::Matrix<casacore::Float> & sigmat);

Write the information needed to generate on-the-fly model visibilities.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FinalTvi2.

virtual void casa::vi::TransformingVi2::writeSigma ( const casacore::Matrix< casacore::Float > &  sig)
overridevirtual

Write/modify the Sigma.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FinalTvi2.

virtual void casa::vi::TransformingVi2::writeSigmaSpectrum ( const casacore::Cube< casacore::Float > &  sigsp)
overridevirtual

Write/modify the sigmaSpectrum.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::TransformingVi2::writeVisCorrected ( const casacore::Cube< casacore::Complex > &  vis)
overridevirtual

Write/modify the visibilities.

This is possibly only for a 'reference' casacore::MS which has a new DATA column. The first axis of the matrix should equal the selected number of channels in the original MS. If the casacore::MS does not contain all polarizations, only the parallel hand polarizations are used. virtual void writeVisCorrected (const casacore::Matrix<CStokesVector> & visibilityStokes); virtual void writeVisModel (const casacore::Matrix<CStokesVector> & visibilityStokes); virtual void writeVisObserved (const casacore::Matrix<CStokesVector> & visibilityStokes);

Write/modify the visibilities This writes the data as found in the casacore::MS, casacore::Cube (npol,nchan,nrow).

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FinalTvi2.

virtual void casa::vi::TransformingVi2::writeVisModel ( const casacore::Cube< casacore::Complex > &  vis)
overridevirtual

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FinalTvi2.

virtual void casa::vi::TransformingVi2::writeVisObserved ( const casacore::Cube< casacore::Complex > &  vis)
overridevirtual

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FinalTvi2.

virtual void casa::vi::TransformingVi2::writeWeight ( const casacore::Matrix< casacore::Float > &  wt)
overridevirtual

Write/modify the weights.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FinalTvi2.

virtual void casa::vi::TransformingVi2::writeWeightSpectrum ( const casacore::Cube< casacore::Float > &  wtsp)
overridevirtual

Write/modify the weightMat

virtual void writeWeightMat (const casacore::Matrix<casacore::Float> & wtmat);

Write/modify the weightSpectrum

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::FinalTvi2.

Member Data Documentation

ViImplementation2* casa::vi::TransformingVi2::inputVii_p
protected

jagonzal (to be reviewed by jjacobs): I need to set inputVii_p to NULL from MSTransformIterator destructor because MSTransformIteratorFactory is borrowing the ViImplementation2 from the input iterator, which is deleted in the first steps of the MSTransformIterator destructor.

Definition at line 648 of file TransformingVi2.h.

Referenced by casa::MSTransformIterator::getInputViIterator().

VisBuffer2* casa::vi::TransformingVi2::vb_p
private

Definition at line 652 of file TransformingVi2.h.

Referenced by getVisBuffer().

casacore::CountedPtr<WeightScaling> casa::vi::TransformingVi2::weightScaling_p
private

Definition at line 653 of file TransformingVi2.h.


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