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

#include <SimpleSimVi2.h>

Inheritance diagram for casa::vi::SimpleSimVi2:
casa::vi::ViImplementation2

Public Member Functions

 SimpleSimVi2 (const SimpleSimVi2Parameters &pars)
 
 SimpleSimVi2 (const SimpleSimVi2 &)=delete
 make noncopyable... More...
 
SimpleSimVi2operator= (const SimpleSimVi2 &)=delete
 
virtual ~SimpleSimVi2 ()
 Destructor. More...
 
virtual casacore::String ViiType () const override
 Report the the ViImplementation type. 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
 Detecting the key change isn't possible (yet?) More...
 
virtual casacore::Bool isWritable () const override
 
virtual casacore::Double getInterval () const override
 Return the time interval (in seconds) used for iteration. More...
 
virtual void setInterval (casacore::Double) override
 
virtual void setFrequencySelections (const FrequencySelections &selection) override
 Select the channels to be returned. More...
 
virtual void setRowBlocking (casacore::Int) 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 dataDescriptionIds (casacore::Vector< casacore::Int > &ddis) const override
 
virtual void exposure (casacore::Vector< casacore::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 > &) 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 > &) 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 > > &) 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< casacore::Double > &t) const override
 Return MJD midpoint of interval. More...
 
virtual void timeCentroid (casacore::Vector< casacore::Double > &t) const override
 Return MJD centroid of interval. More...
 
virtual void timeInterval (casacore::Vector< casacore::Double > &ti) const override
 Return nominal time interval. More...
 
virtual void uvw (casacore::Matrix< casacore::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 > &wtsp) const override
 Return sgimaspectrum (a sigma for each channel) More...
 
virtual void setWeightScaling (casacore::CountedPtr< WeightScaling >) override
 
virtual casacore::Bool hasWeightScaling () const override
 
virtual casacore::CountedPtr
< WeightScaling
getWeightScaling () const override
 
virtual casacore::Bool allBeamOffsetsZero () const override
 +---------------------—+ | | | Angular casacore::Data Providers | | | +---------------------—+ More...
 
virtual casacore::MDirection azel0 (casacore::Double) const override
 Return the antenna AZ/EL casacore::Vector (nant) More...
 
virtual const casacore::Vector
< casacore::MDirection > & 
azel (casacore::Double) const override
 
virtual const casacore::Vector
< casacore::Float > & 
feed_pa (casacore::Double t) const override
 Return feed parallactic angles casacore::Vector (nant) (1 feed/ant) More...
 
virtual std::pair< bool,
casacore::MDirection
getPointingAngle (int, double) const override
 
virtual const casacore::Cube
< casacore::RigidVector
< casacore::Double, 2 > > & 
getBeamOffsets () const override
 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). More...
 
virtual casacore::Double hourang (casacore::Double) const override
 Return the hour angle for the specified time. More...
 
virtual const casacore::Floatparang0 (casacore::Double) 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 (casacore::Double) 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
< casacore::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 const VisImagingWeightgetImagingWeightGenerator () const override
 
Return imaging weight (a weight for each channel)

virtual casacore::Matrix<casacore::Float> & imagingWeight (casacore::Matrix<casacore::Float> & wt) const = 0; 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) override
 
virtual casacore::MEpoch getEpoch () const override
 
virtual casacore::Vector<casacore::MPosition> antennaPositions () const;

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

 
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
< casacore::Int
getChannels (casacore::Double time, casacore::Int frameOfReference, casacore::Int spectralWndow=-1, casacore::Int msId=-1) const override
 
virtual casacore::Vector
< casacore::Double
getFrequencies (casacore::Double time, casacore::Int frameOfReference, casacore::Int spectralWndow=-1, casacore::Int msId=-1) const override
 
virtual casacore::Int msId () const override
 reference to actual ms in interator (TRIVIAL returns More...
 
virtual const
casacore::MeasurementSet
ms () const override
 
virtual casacore::Int getNMs () const override
 
virtual casacore::String msName () const override
 Name of the MS in the interator. 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 – NOT POSSIBLE. 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 &) 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 *) override
 Writeback methods are Irrelevant for non-disk-reading VI2. More...
 
virtual void writeFlag (const casacore::Cube< casacore::Bool > &) override
 Write/modify the flags in the data. More...
 
virtual void writeFlagRow (const casacore::Vector< casacore::Bool > &) override
 Write/modify the flag row column = 0; dimension casacore::Vector (nrow) More...
 
virtual void writeFlagCategory (const casacore::Array< casacore::Bool > &) override
 
virtual void writeVisCorrected (const casacore::Cube< casacore::Complex > &) override
 Write/modify the visibilities. More...
 
virtual void writeVisModel (const casacore::Cube< casacore::Complex > &) override
 
virtual void writeVisObserved (const casacore::Cube< casacore::Complex > &) override
 
virtual void writeWeight (const casacore::Matrix< casacore::Float > &) override
 Write/modify the weights. More...
 
virtual void writeWeightSpectrum (const casacore::Cube< casacore::Float > &) override
 
Write/modify the weightMat

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

 
virtual void initWeightSpectrum (const casacore::Cube< casacore::Float > &) override
 Initialize the weightSpectrum. More...
 
virtual void writeSigmaSpectrum (const casacore::Cube< casacore::Float > &) override
 Write/modify the sigmaSpectrum. More...
 
virtual void writeSigma (const casacore::Matrix< casacore::Float > &) override
 Write/modify the Sigma. More...
 
virtual void writeModel (const casacore::RecordInterface &, casacore::Bool, casacore::Bool) override
 Write/modify the ncorr x nrow SigmaMat. More...
 
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 initSigmaSpectrum (const casacore::Cube< casacore::Float > &)
 Initialize the sigmaSpectrum. More...
 

Private Member Functions

 SimpleSimVi2 ()
 Make default ctor invisible. More...
 
void configureNewSubchunk ()
 Keep VB2 sync'd. More...
 
void addNoise (casacore::Cube< casacore::Complex > &vis) const
 Generate noise on data. More...
 
void corruptByParang (casacore::Cube< casacore::Complex > &vis) const
 Corrupt by (ad hoc) parang factors. More...
 
void generateSubtables ()
 Generate the antenna, spw and DD subtables. More...
 

Private Attributes

const SimpleSimVi2Parameters pars_
 casacore::Input parameters More...
 
casacore::Int nChunk_
 Derived parameters. More...
 
casacore::Int nBsln_
 
casacore::Complex c0_
 
casacore::Double t0_
 
casacore::Vector< casacore::Floatwt0_
 
casacore::Matrix
< casacore::Complex > 
vis0_
 
casacore::Int iChunk_
 Counters. More...
 
casacore::Int iSubChunk_
 
casacore::Int iRow0_
 
casacore::Int iScan_
 
casacore::Double iChunkTime0_
 
casacore::Int thisScan_
 Meta-info. More...
 
casacore::Int thisField_
 
casacore::Int thisSpw_
 
casacore::Int lastScan_
 
casacore::Int lastField_
 
casacore::Int lastSpw_
 
casacore::Double thisTime_
 
casacore::Vector
< casacore::Stokes::StokesTypes
corrdef_
 Correlation stuff. More...
 
std::unique_ptr< VisBuffer2vb_
 The associated VB. More...
 
casacore::MSAntenna antennaSubTable_p
 Subtables. More...
 
std::unique_ptr
< casacore::MSAntennaColumns
antennaSubTablecols_p
 
casacore::MSSpectralWindow spwSubTable_p
 
std::unique_ptr
< casacore::MSSpWindowColumns
spwSubTablecols_p
 
casacore::MSDataDescription ddSubTable_p
 
std::unique_ptr
< casacore::MSDataDescColumns
ddSubTablecols_p
 
casacore::MSPolarization polSubTable_p
 
std::unique_ptr
< casacore::MSPolarizationColumns
polSubTablecols_p
 
casacore::MDirection phaseCenter_
 Trivial (for now) MDirection, so phaseCenter() has something to return. More...
 
casacore::Vector< casacore::Floatfeedpa_
 Trivial (for now) parang. More...
 

Additional Inherited Members

- 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 inherited from casa::vi::ViImplementation2
virtual VisBuffer2createAttachedVisBuffer (VisBufferOptions options)
 
VisBuffer2getVisBuffer (const VisibilityIterator2 *) const
 
- 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

Definition at line 137 of file SimpleSimVi2.h.

Constructor & Destructor Documentation

casa::vi::SimpleSimVi2::SimpleSimVi2 ( const SimpleSimVi2Parameters pars)
casa::vi::SimpleSimVi2::SimpleSimVi2 ( const SimpleSimVi2 )
delete

make noncopyable...

virtual casa::vi::SimpleSimVi2::~SimpleSimVi2 ( )
virtual

Destructor.

casa::vi::SimpleSimVi2::SimpleSimVi2 ( )
private

Make default ctor invisible.

Member Function Documentation

void casa::vi::SimpleSimVi2::addNoise ( casacore::Cube< casacore::Complex > &  vis) const
private

Generate noise on data.

virtual casacore::Bool casa::vi::SimpleSimVi2::allBeamOffsetsZero ( ) const
inlineoverridevirtual

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

No underlying geometry is available for these!

Implements casa::vi::ViImplementation2.

Definition at line 280 of file SimpleSimVi2.h.

References SSVi2NotPossible.

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

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

Return info

Implements casa::vi::ViImplementation2.

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

Return antenna2.

Implements casa::vi::ViImplementation2.

virtual const casacore::Vector<casacore::String>& casa::vi::SimpleSimVi2::antennaMounts ( ) const
inlineoverridevirtual

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

Implements casa::vi::ViImplementation2.

Definition at line 299 of file SimpleSimVi2.h.

References SSVi2NotPossible.

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

Return the current ArrayId.

Implements casa::vi::ViImplementation2.

virtual const casacore::Vector<casacore::MDirection>& casa::vi::SimpleSimVi2::azel ( casacore::Double  ) const
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 282 of file SimpleSimVi2.h.

References SSVi2NotPossible.

virtual casacore::MDirection casa::vi::SimpleSimVi2::azel0 ( casacore::Double  time) const
inlineoverridevirtual

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

Implements casa::vi::ViImplementation2.

Definition at line 281 of file SimpleSimVi2.h.

References SSVi2NotPossible.

void casa::vi::SimpleSimVi2::configureNewSubchunk ( )
private

Keep VB2 sync'd.

virtual void casa::vi::SimpleSimVi2::corrType ( casacore::Vector< casacore::Int > &  corrTypes) const
overridevirtual

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

Implements casa::vi::ViImplementation2.

void casa::vi::SimpleSimVi2::corruptByParang ( casacore::Cube< casacore::Complex > &  vis) const
private

Corrupt by (ad hoc) parang factors.

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

Return current DataDescription Id.

Implements casa::vi::ViImplementation2.

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

Access to dataDescription subtable.

Implements casa::vi::ViImplementation2.

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

Access to doppler subtable.

Implements casa::vi::ViImplementation2.

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

Return actual time interval.

Implements casa::vi::ViImplementation2.

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

Return feed1.

Implements casa::vi::ViImplementation2.

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

Return feed2.

Implements casa::vi::ViImplementation2.

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

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

Implements casa::vi::ViImplementation2.

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

Access to feed subtable.

Implements casa::vi::ViImplementation2.

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

Return the current FieldId.

Implements casa::vi::ViImplementation2.

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

Return the current Field Name.

Implements casa::vi::ViImplementation2.

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

Access to field subtable.

Implements casa::vi::ViImplementation2.

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

Return flag for each polarization, channel and row.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::SimpleSimVi2::flag ( casacore::Matrix< casacore::Bool > &  flags) const
inlineoverridevirtual

Return flag for each channel & row.

Implements casa::vi::ViImplementation2.

Definition at line 236 of file SimpleSimVi2.h.

References SSVi2NotPossible.

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

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

Implements casa::vi::ViImplementation2.

Definition at line 238 of file SimpleSimVi2.h.

References SSVi2NotPossible.

virtual casacore::Bool casa::vi::SimpleSimVi2::flagCategoryExists ( ) const
inlineoverridevirtual

Determine whether FLAG_CATEGORY is valid.

Implements casa::vi::ViImplementation2.

Definition at line 237 of file SimpleSimVi2.h.

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

Access to flagCmd subtable.

Implements casa::vi::ViImplementation2.

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

Return row flag.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::SimpleSimVi2::floatData ( casacore::Cube< casacore::Float > &  fcube) const
overridevirtual

Return FLOAT_DATA as a casacore::Cube (npol, nchan, nrow) if found in the MS.

Implements casa::vi::ViImplementation2.

const casacore::ROMSFreqOffsetColumns& casa::vi::SimpleSimVi2::freqOffsetSubtablecols ( ) const
overridevirtual

Access to freqOffset subtable.

Implements casa::vi::ViImplementation2.

void casa::vi::SimpleSimVi2::generateSubtables ( )
private

Generate the antenna, spw and DD subtables.

virtual const casacore::Cube<casacore::RigidVector<casacore::Double, 2> >& casa::vi::SimpleSimVi2::getBeamOffsets ( ) const
inlineoverridevirtual

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.

Definition at line 286 of file SimpleSimVi2.h.

References SSVi2NotPossible.

virtual casacore::Vector<casacore::Int> casa::vi::SimpleSimVi2::getChannels ( casacore::Double  time,
casacore::Int  frameOfReference,
casacore::Int  spectralWndow = -1,
casacore::Int  msId = -1 
) const
overridevirtual
virtual casacore::Vector<casacore::Int> casa::vi::SimpleSimVi2::getCorrelations ( ) const
overridevirtual
virtual casacore::Vector<casacore::Stokes::StokesTypes> casa::vi::SimpleSimVi2::getCorrelationTypesDefined ( ) const
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 313 of file SimpleSimVi2.h.

References corrdef_.

virtual casacore::Vector<casacore::Stokes::StokesTypes> casa::vi::SimpleSimVi2::getCorrelationTypesSelected ( ) const
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 314 of file SimpleSimVi2.h.

References corrdef_.

virtual casacore::MEpoch casa::vi::SimpleSimVi2::getEpoch ( ) const
overridevirtual

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

casacore::MSDerivedValues makeMsd ();

Implements casa::vi::ViImplementation2.

virtual casacore::Vector<casacore::Double> casa::vi::SimpleSimVi2::getFrequencies ( casacore::Double  time,
casacore::Int  frameOfReference,
casacore::Int  spectralWndow = -1,
casacore::Int  msId = -1 
) const
overridevirtual
virtual const VisImagingWeight& casa::vi::SimpleSimVi2::getImagingWeightGenerator ( ) const
inlineoverridevirtual

Return imaging weight (a weight for each channel)

virtual casacore::Matrix<casacore::Float> & imagingWeight (casacore::Matrix<casacore::Float> & wt) const = 0;

Implements casa::vi::ViImplementation2.

Definition at line 300 of file SimpleSimVi2.h.

References SSVi2NotPossible.

virtual casacore::Double casa::vi::SimpleSimVi2::getInterval ( ) const
inlineoverridevirtual

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.

Definition at line 183 of file SimpleSimVi2.h.

virtual casacore::Int casa::vi::SimpleSimVi2::getNMs ( ) const
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 324 of file SimpleSimVi2.h.

virtual casacore::MFrequency::Types casa::vi::SimpleSimVi2::getObservatoryFrequencyType ( ) const
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 302 of file SimpleSimVi2.h.

References SSVi2NotPossible.

virtual casacore::MPosition casa::vi::SimpleSimVi2::getObservatoryPosition ( ) const
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 303 of file SimpleSimVi2.h.

References SSVi2NotPossible.

virtual std::pair<bool, casacore::MDirection> casa::vi::SimpleSimVi2::getPointingAngle ( int  ,
double   
) const
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 284 of file SimpleSimVi2.h.

References phaseCenter().

virtual casacore::Vector<casacore::Float> casa::vi::SimpleSimVi2::getReceptor0Angle ( )
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 304 of file SimpleSimVi2.h.

References SSVi2NotPossible.

virtual casacore::Int casa::vi::SimpleSimVi2::getReportingFrameOfReference ( ) const
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 306 of file SimpleSimVi2.h.

virtual void casa::vi::SimpleSimVi2::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.

virtual const SortColumns& casa::vi::SimpleSimVi2::getSortColumns ( ) const
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 196 of file SimpleSimVi2.h.

References SSVi2NotPossible.

virtual const SpectralWindowChannels& casa::vi::SimpleSimVi2::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::SimpleSimVi2::getSubchunkId ( ) const
overridevirtual
virtual VisBuffer2* casa::vi::SimpleSimVi2::getVisBuffer ( ) const
overridevirtual
virtual casacore::CountedPtr<WeightScaling> casa::vi::SimpleSimVi2::getWeightScaling ( ) const
overridevirtual
virtual casacore::Bool casa::vi::SimpleSimVi2::hasWeightScaling ( ) const
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 270 of file SimpleSimVi2.h.

const casacore::ROMSHistoryColumns& casa::vi::SimpleSimVi2::historySubtablecols ( ) const
overridevirtual

Access to history subtable.

Implements casa::vi::ViImplementation2.

virtual casacore::Double casa::vi::SimpleSimVi2::hourang ( casacore::Double  time) const
inlineoverridevirtual

Return the hour angle for the specified time.

Implements casa::vi::ViImplementation2.

Definition at line 287 of file SimpleSimVi2.h.

References SSVi2NotPossible.

virtual void casa::vi::SimpleSimVi2::initWeightSpectrum ( const casacore::Cube< casacore::Float > &  )
inlineoverridevirtual

Initialize the weightSpectrum.

Reimplemented from casa::vi::ViImplementation2.

Definition at line 364 of file SimpleSimVi2.h.

References SSVi2NotPossible.

virtual casacore::Bool casa::vi::SimpleSimVi2::isNewArrayId ( ) const
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 198 of file SimpleSimVi2.h.

virtual casacore::Bool casa::vi::SimpleSimVi2::isNewFieldId ( ) const
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 199 of file SimpleSimVi2.h.

References lastField_, and thisField_.

virtual casacore::Bool casa::vi::SimpleSimVi2::isNewMs ( ) const
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 200 of file SimpleSimVi2.h.

virtual casacore::Bool casa::vi::SimpleSimVi2::isNewSpectralWindow ( ) const
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 201 of file SimpleSimVi2.h.

References lastSpw_, and thisSpw_.

virtual casacore::Bool casa::vi::SimpleSimVi2::isWritable ( ) const
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 176 of file SimpleSimVi2.h.

virtual void casa::vi::SimpleSimVi2::jonesC ( casacore::Vector< casacore::SquareMatrix< casacore::Complex, 2 > > &  cjones) const
inlineoverridevirtual

Return feed configuration matrix for specified antenna.

Implements casa::vi::ViImplementation2.

Definition at line 246 of file SimpleSimVi2.h.

References SSVi2NotPossible.

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

Detecting the key change isn't possible (yet?)

Implements casa::vi::ViImplementation2.

Definition at line 174 of file SimpleSimVi2.h.

References SSVi2NotPossible.

virtual casacore::Bool casa::vi::SimpleSimVi2::more ( ) const
overridevirtual
virtual casacore::Bool casa::vi::SimpleSimVi2::moreChunks ( ) const
overridevirtual
virtual const casacore::MeasurementSet& casa::vi::SimpleSimVi2::ms ( ) const
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 323 of file SimpleSimVi2.h.

References SSVi2NotPossible.

virtual casacore::Int casa::vi::SimpleSimVi2::msId ( ) const
inlineoverridevirtual

reference to actual ms in interator (TRIVIAL returns

Implements casa::vi::ViImplementation2.

Definition at line 322 of file SimpleSimVi2.h.

virtual casacore::String casa::vi::SimpleSimVi2::msName ( void  ) const
inlineoverridevirtual

Name of the MS in the interator.

Implements casa::vi::ViImplementation2.

Definition at line 327 of file SimpleSimVi2.h.

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

Return number of antennasm spws, polids, ddids.

Implements casa::vi::ViImplementation2.

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

Return the number of rows in the current iteration.

Implements casa::vi::ViImplementation2.

Definition at line 205 of file SimpleSimVi2.h.

References nBsln_.

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

Return the OBSERVATION_IDs.

Implements casa::vi::ViImplementation2.

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

Access to observation subtable.

Implements casa::vi::ViImplementation2.

SimpleSimVi2& casa::vi::SimpleSimVi2::operator= ( const SimpleSimVi2 )
delete
virtual void casa::vi::SimpleSimVi2::origin ( )
overridevirtual

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

Methods to control and monitor subchunk iteration

Implements casa::vi::ViImplementation2.

virtual void casa::vi::SimpleSimVi2::originChunks ( casacore::Bool  forceRewind = false)
overridevirtual

Methods to control chunk iterator.

Implements casa::vi::ViImplementation2.

virtual const casacore::Vector<casacore::Float>& casa::vi::SimpleSimVi2::parang ( casacore::Double  time) const
inlineoverridevirtual

Per antenna:

Implements casa::vi::ViImplementation2.

Definition at line 289 of file SimpleSimVi2.h.

References SSVi2NotPossible.

virtual const casacore::Float& casa::vi::SimpleSimVi2::parang0 ( casacore::Double  time) const
inlineoverridevirtual

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.

Definition at line 288 of file SimpleSimVi2.h.

References SSVi2NotPossible.

virtual const casacore::MDirection& casa::vi::SimpleSimVi2::phaseCenter ( ) const
inlineoverridevirtual

Return the current phase center as an MDirection.

Implements casa::vi::ViImplementation2.

Definition at line 290 of file SimpleSimVi2.h.

References phaseCenter_.

Referenced by getPointingAngle().

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

Access to pointing subtable.

Implements casa::vi::ViImplementation2.

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

Return current Polarization Id.

Implements casa::vi::ViImplementation2.

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

Access to polarization subtable.

Implements casa::vi::ViImplementation2.

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

Return frame for polarization (returns PolFrame enum)

Implements casa::vi::ViImplementation2.

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

Return the PROCESSOR_IDs.

Implements casa::vi::ViImplementation2.

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

Access to processor subtable.

Implements casa::vi::ViImplementation2.

virtual const casacore::Cube<casacore::Double>& casa::vi::SimpleSimVi2::receptorAngles ( ) const
inlineoverridevirtual

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.

Definition at line 291 of file SimpleSimVi2.h.

References SSVi2NotPossible.

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

Return scan number.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::SimpleSimVi2::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::SimpleSimVi2::setInterval ( casacore::Double  )
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 184 of file SimpleSimVi2.h.

References SSVi2NotPossible.

virtual void casa::vi::SimpleSimVi2::setReportingFrameOfReference ( casacore::Int  )
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 307 of file SimpleSimVi2.h.

References SSVi2NotPossible.

virtual void casa::vi::SimpleSimVi2::setRowBlocking ( casacore::Int  )
inlineoverridevirtual

Set the 'blocking' size for returning data.

Implements casa::vi::ViImplementation2.

Definition at line 192 of file SimpleSimVi2.h.

References SSVi2NotPossible.

virtual void casa::vi::SimpleSimVi2::setWeightScaling ( casacore::CountedPtr< WeightScaling )
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 269 of file SimpleSimVi2.h.

References SSVi2NotPossible.

virtual void casa::vi::SimpleSimVi2::sigma ( casacore::Matrix< casacore::Float > &  sigmat) const
overridevirtual

Return sigma.

Implements casa::vi::ViImplementation2.

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

Return sgimaspectrum (a sigma for each channel)

Implements casa::vi::ViImplementation2.

virtual casacore::Bool casa::vi::SimpleSimVi2::sigmaSpectrumExists ( ) const
overridevirtual

Determine whether SIGMA_SPECTRUM exists.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::SimpleSimVi2::slurp ( ) const
inlineoverridevirtual

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

Not meaningful for non-I/O

Implements casa::vi::ViImplementation2.

Definition at line 331 of file SimpleSimVi2.h.

References SSVi2NotPossible.

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

Return the current Source Name.

Implements casa::vi::ViImplementation2.

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

Access to source subtable.

Implements casa::vi::ViImplementation2.

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

Return current SpectralWindow.

Implements casa::vi::ViImplementation2.

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

Access to spectralWindow subtable.

Implements casa::vi::ViImplementation2.

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

Return the STATE_IDs.

Implements casa::vi::ViImplementation2.

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

Access to state subtable.

Implements casa::vi::ViImplementation2.

virtual const vi::SubtableColumns& casa::vi::SimpleSimVi2::subtableColumns ( ) const
inlineoverridevirtual

Access the current casacore::ROMSColumns object in MSIter – NOT POSSIBLE.

Implements casa::vi::ViImplementation2.

Definition at line 334 of file SimpleSimVi2.h.

References SSVi2NotPossible.

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

Access to sysCal subtable.

Implements casa::vi::ViImplementation2.

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

Return MJD midpoint of interval.

Implements casa::vi::ViImplementation2.

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

Return MJD centroid of interval.

Implements casa::vi::ViImplementation2.

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

Return nominal time interval.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::SimpleSimVi2::useImagingWeight ( const VisImagingWeight )
inlineoverridevirtual

assign a VisImagingWeight object to this iterator

Implements casa::vi::ViImplementation2.

Definition at line 343 of file SimpleSimVi2.h.

References SSVi2NotPossible.

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

Return u,v and w (in meters)

Implements casa::vi::ViImplementation2.

virtual casacore::String casa::vi::SimpleSimVi2::ViiType ( ) const
inlineoverridevirtual

Report the the ViImplementation type.

Implements casa::vi::ViImplementation2.

Definition at line 151 of file SimpleSimVi2.h.

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

Return the visibilities as found in the casacore::MS, casacore::Cube (npol,nchan,nrow).

Implements casa::vi::ViImplementation2.

virtual void casa::vi::SimpleSimVi2::visibilityModel ( casacore::Cube< casacore::Complex > &  vis) const
overridevirtual
virtual void casa::vi::SimpleSimVi2::visibilityObserved ( casacore::Cube< casacore::Complex > &  vis) const
overridevirtual
virtual casacore::IPosition casa::vi::SimpleSimVi2::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 = 0; virtual void visibilityModel (casacore::Matrix<CStokesVector> & vis) const = 0; virtual void visibilityObserved (casacore::Matrix<CStokesVector> & vis) const = 0;

Return the shape of the visibility Cube

Implements casa::vi::ViImplementation2.

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

Access to weather subtable.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::SimpleSimVi2::weight ( casacore::Matrix< casacore::Float > &  wtmat) const
overridevirtual

Return weight.

Implements casa::vi::ViImplementation2.

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

Return weightspectrum (a weight for each channel)

Implements casa::vi::ViImplementation2.

virtual casacore::Bool casa::vi::SimpleSimVi2::weightSpectrumExists ( ) const
overridevirtual

Determine whether WEIGHT_SPECTRUM exists.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::SimpleSimVi2::writeBackChanges ( VisBuffer2 )
inlineoverridevirtual

Writeback methods are Irrelevant for non-disk-reading VI2.

Implements casa::vi::ViImplementation2.

Definition at line 355 of file SimpleSimVi2.h.

References SSVi2NotPossible.

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

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. virtual void writeFlag (const casacore::Matrix<casacore::Bool> & flag) = 0;

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.

Definition at line 356 of file SimpleSimVi2.h.

References SSVi2NotPossible.

virtual void casa::vi::SimpleSimVi2::writeFlagCategory ( const casacore::Array< casacore::Bool > &  )
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 358 of file SimpleSimVi2.h.

References SSVi2NotPossible.

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

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

Implements casa::vi::ViImplementation2.

Definition at line 357 of file SimpleSimVi2.h.

References SSVi2NotPossible.

virtual void casa::vi::SimpleSimVi2::writeModel ( const casacore::RecordInterface rec,
casacore::Bool  iscomponentlist,
casacore::Bool  incremental 
)
inlineoverridevirtual

Write/modify the ncorr x nrow SigmaMat.

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

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

Implements casa::vi::ViImplementation2.

Definition at line 367 of file SimpleSimVi2.h.

References SSVi2NotPossible.

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

Write/modify the Sigma.

Implements casa::vi::ViImplementation2.

Definition at line 366 of file SimpleSimVi2.h.

References SSVi2NotPossible.

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

Write/modify the sigmaSpectrum.

Implements casa::vi::ViImplementation2.

Definition at line 365 of file SimpleSimVi2.h.

References SSVi2NotPossible.

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

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) = 0; virtual void writeVisModel (const casacore::Matrix<CStokesVector> & visibilityStokes) = 0; virtual void writeVisObserved (const casacore::Matrix<CStokesVector> & visibilityStokes) = 0;

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

Implements casa::vi::ViImplementation2.

Definition at line 359 of file SimpleSimVi2.h.

References SSVi2NotPossible.

virtual void casa::vi::SimpleSimVi2::writeVisModel ( const casacore::Cube< casacore::Complex > &  )
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 360 of file SimpleSimVi2.h.

References SSVi2NotPossible.

virtual void casa::vi::SimpleSimVi2::writeVisObserved ( const casacore::Cube< casacore::Complex > &  )
inlineoverridevirtual

Implements casa::vi::ViImplementation2.

Definition at line 361 of file SimpleSimVi2.h.

References SSVi2NotPossible.

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

Write/modify the weights.

Implements casa::vi::ViImplementation2.

Definition at line 362 of file SimpleSimVi2.h.

References SSVi2NotPossible.

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

Write/modify the weightMat

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

Write/modify the weightSpectrum

Implements casa::vi::ViImplementation2.

Definition at line 363 of file SimpleSimVi2.h.

References SSVi2NotPossible.

Member Data Documentation

casacore::MSAntenna casa::vi::SimpleSimVi2::antennaSubTable_p
private

Subtables.

Definition at line 479 of file SimpleSimVi2.h.

std::unique_ptr<casacore::MSAntennaColumns> casa::vi::SimpleSimVi2::antennaSubTablecols_p
private

Definition at line 480 of file SimpleSimVi2.h.

casacore::Complex casa::vi::SimpleSimVi2::c0_
private

Definition at line 456 of file SimpleSimVi2.h.

casacore::Vector<casacore::Stokes::StokesTypes> casa::vi::SimpleSimVi2::corrdef_
private

Correlation stuff.

Definition at line 473 of file SimpleSimVi2.h.

Referenced by getCorrelationTypesDefined(), and getCorrelationTypesSelected().

casacore::MSDataDescription casa::vi::SimpleSimVi2::ddSubTable_p
private

Definition at line 483 of file SimpleSimVi2.h.

std::unique_ptr<casacore::MSDataDescColumns> casa::vi::SimpleSimVi2::ddSubTablecols_p
private

Definition at line 484 of file SimpleSimVi2.h.

casacore::Vector<casacore::Float> casa::vi::SimpleSimVi2::feedpa_
mutableprivate

Trivial (for now) parang.

Definition at line 492 of file SimpleSimVi2.h.

casacore::Int casa::vi::SimpleSimVi2::iChunk_
private

Counters.

Definition at line 463 of file SimpleSimVi2.h.

casacore::Double casa::vi::SimpleSimVi2::iChunkTime0_
private

Definition at line 465 of file SimpleSimVi2.h.

casacore::Int casa::vi::SimpleSimVi2::iRow0_
private

Definition at line 463 of file SimpleSimVi2.h.

casacore::Int casa::vi::SimpleSimVi2::iScan_
private

Definition at line 464 of file SimpleSimVi2.h.

casacore::Int casa::vi::SimpleSimVi2::iSubChunk_
private

Definition at line 463 of file SimpleSimVi2.h.

casacore::Int casa::vi::SimpleSimVi2::lastField_
private

Definition at line 469 of file SimpleSimVi2.h.

Referenced by isNewFieldId().

casacore::Int casa::vi::SimpleSimVi2::lastScan_
private

Definition at line 469 of file SimpleSimVi2.h.

casacore::Int casa::vi::SimpleSimVi2::lastSpw_
private

Definition at line 469 of file SimpleSimVi2.h.

Referenced by isNewSpectralWindow().

casacore::Int casa::vi::SimpleSimVi2::nBsln_
private

Definition at line 455 of file SimpleSimVi2.h.

Referenced by nRows().

casacore::Int casa::vi::SimpleSimVi2::nChunk_
private

Derived parameters.

Definition at line 455 of file SimpleSimVi2.h.

const SimpleSimVi2Parameters casa::vi::SimpleSimVi2::pars_
private

casacore::Input parameters

Definition at line 442 of file SimpleSimVi2.h.

casacore::MDirection casa::vi::SimpleSimVi2::phaseCenter_
private

Trivial (for now) MDirection, so phaseCenter() has something to return.

Definition at line 489 of file SimpleSimVi2.h.

Referenced by phaseCenter().

casacore::MSPolarization casa::vi::SimpleSimVi2::polSubTable_p
private

Definition at line 485 of file SimpleSimVi2.h.

std::unique_ptr<casacore::MSPolarizationColumns> casa::vi::SimpleSimVi2::polSubTablecols_p
private

Definition at line 486 of file SimpleSimVi2.h.

casacore::MSSpectralWindow casa::vi::SimpleSimVi2::spwSubTable_p
private

Definition at line 481 of file SimpleSimVi2.h.

std::unique_ptr<casacore::MSSpWindowColumns> casa::vi::SimpleSimVi2::spwSubTablecols_p
private

Definition at line 482 of file SimpleSimVi2.h.

casacore::Double casa::vi::SimpleSimVi2::t0_
private

Definition at line 457 of file SimpleSimVi2.h.

casacore::Int casa::vi::SimpleSimVi2::thisField_
private

Definition at line 468 of file SimpleSimVi2.h.

Referenced by isNewFieldId().

casacore::Int casa::vi::SimpleSimVi2::thisScan_
private

Meta-info.

Definition at line 468 of file SimpleSimVi2.h.

casacore::Int casa::vi::SimpleSimVi2::thisSpw_
private

Definition at line 468 of file SimpleSimVi2.h.

Referenced by isNewSpectralWindow().

casacore::Double casa::vi::SimpleSimVi2::thisTime_
private

Definition at line 470 of file SimpleSimVi2.h.

std::unique_ptr<VisBuffer2> casa::vi::SimpleSimVi2::vb_
private

The associated VB.

Definition at line 476 of file SimpleSimVi2.h.

casacore::Matrix<casacore::Complex> casa::vi::SimpleSimVi2::vis0_
private

Definition at line 459 of file SimpleSimVi2.h.

casacore::Vector<casacore::Float> casa::vi::SimpleSimVi2::wt0_
private

Definition at line 458 of file SimpleSimVi2.h.


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