casa
5.7.0-16
|
#include <VisibilityIteratorImpl2.h>
Classes | |
class | BackWriter |
+========================| | | | Output Related Methods | | | +========================| More... | |
class | BackWriterImpl |
A simple BackWriterImpl2 uses a nullary accessor on a VisBuffer. More... | |
class | BackWriterImpl2 |
BackWriterImpl2 is slightly more complicated in that it uses a unary accessor. More... | |
class | Cache |
void convertVisFromStokes(const casacore::Matrix<CStokesVector> & visibilityStokes, casacore::Cube<casacore::Complex> & visCube); More... | |
class | PendingChanges |
class | RowBounds |
Public Types | |
typedef VisibilityIterator2::DataColumn | DataColumn |
VLAT should not access private parts, especially variables. More... | |
typedef std::tuple < casacore::Vector < casacore::Int > , casacore::Vector < casacore::Int > , casacore::Vector < casacore::Int > , casacore::Vector < casacore::Int > > | ChannelInfo |
Public Member Functions | |
VisibilityIteratorImpl2 (const casacore::Block< const casacore::MeasurementSet * > &mss, const SortColumns &sortColumns, casacore::Double timeInterval, casacore::Bool isWritable, casacore::Bool useMSIter2=false) | |
Default constructor - useful only to assign another iterator later | |
VisibilityIteratorImpl2 (const VisibilityIteratorImpl2 &vii) | |
VisibilityIteratorImpl2 & | operator= (const VisibilityIteratorImpl2 &vii) |
VisibilityIteratorImpl2 (VisibilityIteratorImpl2 &&vii) | |
VisibilityIteratorImpl2 & | operator= (VisibilityIteratorImpl2 &&vii) |
virtual | ~VisibilityIteratorImpl2 () |
Destructor. More... | |
std::unique_ptr < VisibilityIteratorImpl2 > | clone () const |
Members. More... | |
virtual casacore::String | ViiType () const override |
Report the the ViImplementation type TBD: indicate writable? More... | |
virtual casacore::Bool | isWritable () const override |
virtual void | origin () override |
Reset iterator to origin/start of data (of current chunk) More... | |
virtual void | originChunks () |
Reset iterator to true start of data (first chunk) More... | |
virtual casacore::Double | getInterval () const override |
Return the time interval (in seconds) used for iteration. More... | |
virtual void | setInterval (casacore::Double timeInterval) override |
Set or reset the time interval (in seconds) to use for iteration. More... | |
virtual void | setRowBlocking (casacore::Int nRows=0) override |
Set the 'blocking' size for returning data. More... | |
virtual casacore::Bool | existsColumn (VisBufferComponent2 id) const override |
virtual casacore::Bool | more () const override |
Return false if no more data (in current chunk) More... | |
virtual Subchunk | getSubchunkId () const override |
virtual const SortColumns & | getSortColumns () const override |
virtual void | setFrequencySelections (const FrequencySelections &selection) override |
Select the channels to be returned. More... | |
virtual casacore::Bool | moreChunks () const override |
Return false if no more 'Chunks' of data left. More... | |
virtual casacore::Bool | isNewArrayId () const override |
Check if ms has change since last iteration. More... | |
virtual casacore::Bool | isNewFieldId () const override |
virtual casacore::Bool | isNewMs () const override |
virtual casacore::Bool | isNewSpectralWindow () const override |
virtual casacore::Int | msId () const override |
reference to actual ms in interator More... | |
virtual casacore::Int | getNMs () const override |
virtual VisBuffer2 * | getVisBuffer () const override |
virtual const casacore::MeasurementSet & | ms () const override |
reference to actual ms in interator More... | |
virtual casacore::String | msName () const override |
Name of the MS in the interator. More... | |
virtual void | next () override |
advance the iteration More... | |
virtual void | nextChunk () override |
Advance to the next Chunk of data. More... | |
virtual casacore::String | keyChange () const override |
Report Name of slowest column that changes at end of current iteration. More... | |
virtual void | antenna1 (casacore::Vector< casacore::Int > &ant1) const override |
Return antenna1. More... | |
virtual void | antenna2 (casacore::Vector< casacore::Int > &ant2) const override |
Return antenna2. 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... | |
void | jonesC (casacore::Vector< casacore::SquareMatrix< casacore::Complex, 2 > > &cjones) const override |
Return feed configuration matrix for specified antenna. 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 |
return a string mount identifier for each antenna More... | |
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 std::pair< bool, casacore::MDirection > | getPointingAngle (int antenna, double time) const override |
virtual casacore::Bool | allBeamOffsetsZero () const override |
true if all elements of the cube returned by getBeamOffsets are zero More... | |
virtual const casacore::Vector < casacore::Float > & | feed_pa (casacore::Double time) const override |
Return feed parallactic angles casacore::Vector (nant) (1 feed/ant) More... | |
virtual const casacore::Float & | parang0 (casacore::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 (casacore::Double time) const override |
Per antenna: More... | |
virtual casacore::MDirection | azel0 (casacore::Double time) const override |
Return the antenna AZ/EL casacore::Vector(nant) More... | |
virtual const casacore::Vector < casacore::MDirection > & | azel (casacore::Double time) const override |
virtual casacore::Double | hourang (casacore::Double time) const override |
Return the hour angle for the specified time. 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 casacore::String | sourceName () const override |
Return the current Source 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... | |
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 | scan (casacore::Vector< casacore::Int > &scans) const override |
Return scan number. More... | |
virtual void | observationId (casacore::Vector< casacore::Int > &obsids) const override |
Return the OBSERVATION_IDs. More... | |
virtual void | processorId (casacore::Vector< casacore::Int > &procids) const override |
Return the PROCESSOR_IDs. More... | |
virtual void | stateId (casacore::Vector< casacore::Int > &stateids) const override |
Return the STATE_IDs. More... | |
virtual const casacore::MDirection & | phaseCenter () const override |
Return the current phase center as an MDirection. More... | |
virtual casacore::Int | polFrame () const override |
Return frame for polarization(returns PolFrame enum) More... | |
virtual void | corrType (casacore::Vector< casacore::Int > &corrTypes) const override |
Return the correlation type (returns casacore::Stokes enums) More... | |
virtual void | sigma (casacore::Matrix< casacore::Float > &sig) 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 casacore::Int | polarizationId () const override |
Return current Polarization Id. More... | |
virtual casacore::Int | dataDescriptionId () const override |
Return current DataDescription Id. More... | |
virtual void | dataDescriptionIds (casacore::Vector< casacore::Int > &ddis) 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 | exposure (casacore::Vector< casacore::Double > &expo) const override |
Return actual time interval. 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 casacore::Vector < casacore::Vector < casacore::Int > > | getAllSelectedSpws () const |
This will return all selected spwids for each ms attached with this iterator. More... | |
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 | uvw (casacore::Matrix< casacore::Double > &uvwmat) const override |
Return u,v and w (in meters) More... | |
virtual void | weight (casacore::Matrix< casacore::Float > &wt) const override |
Return weight. More... | |
casacore::Bool | weightSpectrumExists () const override |
Determine whether WEIGHT_SPECTRUM exists. More... | |
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 sigmaspectrum(a sigma for each channel) More... | |
virtual void | setWeightScaling (casacore::CountedPtr< WeightScaling > weightscaling) override |
virtual casacore::CountedPtr < WeightScaling > | getWeightScaling () const override |
virtual casacore::Bool | hasWeightScaling () const override |
const VisImagingWeight & | getImagingWeightGenerator () 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::Bool | newFieldId () const |
Return true if FieldId/Source has changed since last iteration. More... | |
virtual casacore::Bool | newArrayId () const |
Return true if arrayID has changed since last iteration. More... | |
virtual casacore::Bool | newSpectralWindow () const |
Return true if SpectralWindow has changed since last iteration. More... | |
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 casacore::Int | nRowsInChunk () const override |
Return the numbers of rows in the current chunk. More... | |
virtual void | slurp () const override |
Return the number of sub-intervals in the current chunk. More... | |
virtual const vi::SubtableColumns & | subtableColumns () const override |
Get the spw, start and nchan for all the ms's is this Visiter that match the frequecy "freqstart-freqStep" and "freqEnd+freqStep" range Can help in doing channel selection above. 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 Ant More... | |
virtual casacore::Int | nRowsViWillSweep () const override |
Return number of rows in all selected ms's. More... | |
virtual casacore::Int | nSpectralWindows () const override |
Return number of spws, polids, ddids. More... | |
virtual casacore::Int | nPolarizationIds () const override |
virtual casacore::Int | nDataDescriptionIds () const override |
virtual casacore::MEpoch | getEpoch () const override |
virtual casacore::Vector<casacore::MPosition> antennaPositions () const; casacore::MSDerivedValues makeMsd (); More... | |
casacore::MFrequency::Types | getObservatoryFrequencyType () const override |
casacore::MPosition | getObservatoryPosition () const override |
casacore::Vector< casacore::Float > | getReceptor0Angle () override |
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... | |
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 | initWeightSpectrum (const casacore::Cube< casacore::Float > &weightSpectrum) override |
Initialize the weightSpectrum column. More... | |
virtual void | writeSigmaSpectrum (const casacore::Cube< casacore::Float > &sigsp) override |
Write/modify the sigmaSpectrum. More... | |
virtual void | initSigmaSpectrum (const casacore::Cube< casacore::Float > &sigmaSpectrum) override |
Initialize the sigmaSpectrum column. 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 | writeBackChanges (VisBuffer2 *) override |
+----------------—+ | | | Writeback Methods | | | +----------------—+ More... | |
const casacore::ROMSAntennaColumns & | antennaSubtablecols () const override |
const casacore::ROMSDataDescColumns & | dataDescriptionSubtablecols () const override |
Access to dataDescription subtable. More... | |
const casacore::ROMSFeedColumns & | feedSubtablecols () const override |
Access to feed subtable. More... | |
const casacore::ROMSFieldColumns & | fieldSubtablecols () 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::ROMSStateColumns & | stateSubtablecols () 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::ROMSSourceColumns & | sourceSubtablecols () const override |
Access to source subtable. More... | |
const casacore::ROMSSysCalColumns & | sysCalSubtablecols () 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... | |
ViImplementation2 & | operator= (const ViImplementation2 &)=delete |
ViImplementation2 () | |
virtual | ~ViImplementation2 () |
Destructor. More... | |
Protected Types | |
typedef casacore::Block < casacore::MeasurementSet > | MeasurementSets |
Protected Member Functions | |
virtual void | attachColumns (const casacore::Table &t) |
virtual const casacore::Table | attachTable () const |
returns the table, to which columns are attached, can be overridden in derived classes More... | |
virtual void | applyPendingChanges () |
virtual void | allSpectralWindowsSelected (casacore::Vector< casacore::Int > &selectedWindows, casacore::Vector< casacore::Int > &nChannels) const |
virtual void | configureNewChunk () |
set the iteration state More... | |
virtual void | configureNewSubchunk () |
set the currently selected table More... | |
const ChannelSelector * | createDefaultChannelSelector (casacore::Double time, casacore::Int msId, casacore::Int spectralWindowId) |
virtual const vi::ChannelSelector * | determineChannelSelection (casacore::Double time, casacore::Int spectralWindowId=-1, casacore::Int polarizationId=-1, casacore::Int msId=-1) const |
bool | fillFromVirtualModel (casacore::Cube< casacore::Complex > &value) const |
casacore::Slice | findChannelsInRange (casacore::Double lowerFrequency, casacore::Double upperFrequency, const vi::SpectralWindowChannels &spectralWindowChannels) const |
ChannelInfo | getChannelInformation (casacore::Bool now) const |
ChannelInfo | getChannelInformationUsingFrequency (casacore::Bool now) const |
template<typename T > | |
void | getColumnRows (const casacore::ScalarColumn< T > &column, casacore::Vector< T > &array) const |
Methods to get the data out of a table column according to whatever selection criteria (e.g., slicing) is in effect. More... | |
template<typename T > | |
void | getColumnRowsMatrix (const casacore::ArrayColumn< T > &column, casacore::Matrix< T > &array, casacore::Bool correlationSlicing) const |
template<typename T > | |
void | getColumnRows (const casacore::ArrayColumn< T > &column, casacore::Array< T > &array) const |
casacore::Vector < casacore::Double > | getFrequencies (casacore::Double time, casacore::Int frameOfReference, casacore::Int spectralWindowId, casacore::Int msId) const override |
casacore::Vector< casacore::Int > | getChannels (casacore::Double time, casacore::Int frameOfReference, casacore::Int spectralWindowId, casacore::Int msId) const override |
casacore::Vector< casacore::Int > | getCorrelations () const override |
casacore::Vector < casacore::Stokes::StokesTypes > | getCorrelationTypesDefined () const override |
casacore::Vector < casacore::Stokes::StokesTypes > | getCorrelationTypesSelected () const override |
int | getMeasurementFrame (int spectralWindowId) const |
casacore::Int | getPolarizationId (casacore::Int spectralWindowId, casacore::Int msId) const |
casacore::Int | getReportingFrameOfReference () const override |
casacore::Block < casacore::MeasurementSet > | getMeasurementSets () const |
Returns the casacore::MS objects that this VI is iterating over. More... | |
const casacore::MSDerivedValues & | getMsd () const |
Provides access to the casacore::MS-derived values object. More... | |
VisibilityIterator2 * | getViP () const |
Get privileged (non-const) access to the containing ROVI. More... | |
VisBuffer2 * | getVisBuffer (const VisibilityIterator2 *) const |
void getVisibilityAsStokes(casacore::Matrix<CStokesVector> & visibilityStokes, const casacore::ArrayColumn<casacore::Complex> & column) const; More... | |
virtual void | addDataSelection (const casacore::MeasurementSet &ms) |
Ctor auxiliary method. More... | |
virtual void | initialize (const casacore::Block< const casacore::MeasurementSet * > &mss, casacore::Bool useMSIter2=false) |
casacore::Bool | isInASelectedSpectralWindow () const |
Returns true if casacore::MS Iterator is currently pointing to a selected spectral window. More... | |
vi::ChannelSelector * | makeChannelSelectorC (const FrequencySelection &selection, casacore::Double time, casacore::Int msId, casacore::Int spectralWindowId, casacore::Int polarizationId) const |
Creates a channel selection for the current subchunk based on the channel or frequency selection made by the user. More... | |
vi::ChannelSelector * | makeChannelSelectorF (const FrequencySelection &selection, casacore::Double time, casacore::Int msId, casacore::Int spectralWindowId, casacore::Int polarizationId) const |
casacore::MFrequency::Convert | makeFrequencyConverter (casacore::Double time, int spectralWindowId, casacore::Int otherFrameOfReference, casacore::Bool toObservedFrame, casacore::Unit) const |
const casacore::ROMSColumns * | msColumnsKluge () const |
Allow access to the casacore::MSColumns object; for use by VisBuffer2Adapter KLUGE More... | |
virtual void | originChunks (casacore::Bool forceRewind) override |
Method to reset the VI back to the start. More... | |
void | positionMsIterToASelectedSpectralWindow () |
Advances the casacore::MS Iterator until it points at a spectral window that is part of the frequency selection. More... | |
void | setReportingFrameOfReference (casacore::Int) override |
Sets the default frequency reporting frame of reference. More... | |
virtual void | setTileCache () |
Adjusts the tile cache for some columns so that the cache size is optimized for the current input state (e.g., a new data description). More... | |
void | setMsCacheSizes (const casacore::MeasurementSet &ms, std::vector< casacore::MSMainEnums::PredefinedColumns > columnIds) |
void | setMsColumnCacheSizes (const casacore::MeasurementSet &, const string &) |
virtual void | throwIfPendingChanges () |
Throws exception if there is a pending (i.e., unapplied) change to the VI's properties. More... | |
casacore::Bool | usesTiledDataManager (const casacore::String &columnName, const casacore::MeasurementSet &ms) const |
Returns true if the named column uses a tiled data manager in the specified MS. More... | |
void | initializeBackWriters () |
template<typename T > | |
void | putColumnRows (casacore::ArrayColumn< T > &column, const casacore::Array< T > &array) |
template<typename T > | |
void | putColumnRows (casacore::ArrayColumn< T > &column, const casacore::Matrix< T > &array) |
template<typename T > | |
void | putColumnRows (casacore::ScalarColumn< T > &column, const casacore::Vector< T > &array) |
Protected Member Functions inherited from casa::vi::ViImplementation2 | |
virtual VisBuffer2 * | createAttachedVisBuffer (VisBufferOptions options) |
VisBuffer2 * | getVisBuffer (const VisibilityIterator2 *) const |
Static Protected Member Functions | |
template<typename Ret > | |
static BackWriter * | makeBackWriter (void(VisibilityIteratorImpl2::*setter)(Ret), Ret(VisBuffer2::*getter)() const) |
Backwriter(2) creation methods. More... | |
template<typename Ret > | |
static BackWriter * | makeBackWriter2 (void(VisibilityIteratorImpl2::*setter)(Ret, VisibilityIteratorImpl2::DataColumn), Ret(VisBuffer2::*getter)() const, VisibilityIterator2::DataColumn dc) |
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) |
Friends | |
class | AsyncEnabler |
class | ViImplAsync2 |
class | VisibilityIterator2 |
class | VLAT |
class | VisBuffer2Adapter |
Definition at line 76 of file VisibilityIteratorImpl2.h.
typedef std::tuple<casacore::Vector<casacore::Int>, casacore::Vector<casacore::Int>, casacore::Vector<casacore::Int>, casacore::Vector<casacore::Int> > casa::vi::VisibilityIteratorImpl2::ChannelInfo |
Definition at line 88 of file VisibilityIteratorImpl2.h.
VLAT should not access private parts, especially variables.
Definition at line 87 of file VisibilityIteratorImpl2.h.
|
protected |
Definition at line 1159 of file VisibilityIteratorImpl2.h.
casa::vi::VisibilityIteratorImpl2::VisibilityIteratorImpl2 | ( | const casacore::Block< const casacore::MeasurementSet * > & | mss, |
const SortColumns & | sortColumns, | ||
casacore::Double | timeInterval, | ||
casacore::Bool | isWritable, | ||
casacore::Bool | useMSIter2 = false |
||
) |
Default constructor - useful only to assign another iterator later
Construct from an casacore::MS and a casacore::Block of casacore::MS column enums specifying the iteration order. If no order is specified, it uses the default sort order of MSIter, which is not necessarily the raw order of ms! The default ordering is ARRAY_ID, FIELD_ID, DATA_DESC_ID, and TIME, but check MSIter.h to be sure. These columns will be added first if they are not specified.
An optional timeInterval (in seconds) can be given to iterate through chunks of time. The default interval of 0 groups all times together. Every 'chunk' of data contains all data within a certain time interval and with identical values of the other iteration columns (e.g. DATA_DESC_ID and FIELD_ID). Using selectChannel (), a number of groups of channels can be requested. At present the channel group iteration will always occur before the interval iteration. VisibilityIteratorImpl (const casacore::MeasurementSet & ms, const casacore::Block<casacore::Int> & sortColumns, casacore::Double timeInterval = 0);
Same as above, but with the option of using the raw order of ms (addDefaultSortCols=false). VisibilityIteratorImpl (const casacore::MeasurementSet & ms, const casacore::Block<casacore::Int> & sortColumns, const casacore::Bool addDefaultSortCols, casacore::Double timeInterval = 0);
Same as previous constructors, but with multiple MSs to iterate over. VisibilityIteratorImpl (const casacore::Block<casacore::MeasurementSet> & mss, const casacore::Block<casacore::Int> & sortColumns, casacore::Double timeInterval = 0);
casa::vi::VisibilityIteratorImpl2::VisibilityIteratorImpl2 | ( | const VisibilityIteratorImpl2 & | vii | ) |
casa::vi::VisibilityIteratorImpl2::VisibilityIteratorImpl2 | ( | VisibilityIteratorImpl2 && | vii | ) |
|
virtual |
Destructor.
|
protectedvirtual |
Ctor auxiliary method.
|
overridevirtual |
true if all elements of the cube returned by getBeamOffsets are zero
Implements casa::vi::ViImplementation2.
|
protectedvirtual |
Referenced by casa::vi::VisBuffer2Adapter::construct().
|
overridevirtual |
Return antenna1.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Return antenna2.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
return a string mount identifier for each antenna
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
|
protectedvirtual |
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Return the current ArrayId.
Implements casa::vi::ViImplementation2.
|
protectedvirtual |
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
protectedvirtual |
returns the table, to which columns are attached, can be overridden in derived classes
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Return the antenna AZ/EL casacore::Vector(nant)
Implements casa::vi::ViImplementation2.
std::unique_ptr<VisibilityIteratorImpl2> casa::vi::VisibilityIteratorImpl2::clone | ( | ) | const |
Members.
|
protectedvirtual |
set the iteration state
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
protectedvirtual |
set the currently selected table
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Return the correlation type (returns casacore::Stokes enums)
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
protected |
|
overridevirtual |
Return current DataDescription Id.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Access to dataDescription subtable.
Implements casa::vi::ViImplementation2.
|
protectedvirtual |
|
overridevirtual |
Access to doppler subtable.
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Return actual time interval.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Return feed1.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Return feed2.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Return feed parallactic angles casacore::Vector (nant) (1 feed/ant)
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Access to feed subtable.
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Return the current FieldId.
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Return the current Field Name.
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Access to field subtable.
Implements casa::vi::ViImplementation2.
|
protected |
|
protected |
|
overridevirtual |
Return flag for each polarization, channel and row.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Return flag for each channel & row.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Return flags for each polarization, channel, category, and row.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Determine whether FLAG_CATEGORY is valid.
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Access to flagCmd subtable.
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Return row flag.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Return FLOAT_DATA as a casacore::Cube(npol, nchan, nrow) if found in the MS.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Access to freqOffset subtable.
Implements casa::vi::ViImplementation2.
|
virtual |
This will return all selected spwids for each ms attached with this iterator.
|
overridevirtual |
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.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
protected |
|
protected |
|
overrideprotectedvirtual |
Implements casa::vi::ViImplementation2.
|
protected |
Methods to get the data out of a table column according to whatever selection criteria (e.g., slicing) is in effect.
|
protected |
|
protected |
|
overrideprotectedvirtual |
Implements casa::vi::ViImplementation2.
|
overrideprotectedvirtual |
Implements casa::vi::ViImplementation2.
|
overrideprotectedvirtual |
Implements casa::vi::ViImplementation2.
|
overridevirtual |
virtual casacore::Vector<casacore::MPosition> antennaPositions () const;
casacore::MSDerivedValues makeMsd ();
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overrideprotectedvirtual |
Implements casa::vi::ViImplementation2.
Referenced by casa::vi::VisBuffer2Adapter::lsrFrequency().
|
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.
|
overridevirtual |
Return the time interval (in seconds) used for iteration.
This is not the same as the INTERVAL column.
Implements casa::vi::ViImplementation2.
|
protected |
|
protected |
Returns the casacore::MS objects that this VI is iterating over.
|
protected |
Provides access to the casacore::MS-derived values object.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
Referenced by casa::vi::VisBuffer2Adapter::lsrFrequency().
|
overridevirtual |
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
|
protected |
|
overridevirtual |
Implements casa::vi::ViImplementation2.
|
overrideprotectedvirtual |
Implements casa::vi::ViImplementation2.
|
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::VisibilityIteratorImplAsync2.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
|
overridevirtual |
get back the selected spectral windows and spectral channels for current ms
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
protected |
Get privileged (non-const) access to the containing ROVI.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
|
protected |
void getVisibilityAsStokes(casacore::Matrix<CStokesVector> & visibilityStokes, const casacore::ArrayColumn<casacore::Complex> & column) const;
|
overridevirtual |
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Access to history subtable.
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Return the hour angle for the specified time.
Implements casa::vi::ViImplementation2.
|
protectedvirtual |
|
protected |
|
overridevirtual |
Initialize the sigmaSpectrum column.
Reimplemented from casa::vi::ViImplementation2.
|
overridevirtual |
Initialize the weightSpectrum column.
Reimplemented from casa::vi::ViImplementation2.
|
protected |
Returns true if casacore::MS Iterator is currently pointing to a selected spectral window.
|
overridevirtual |
Check if ms has change since last iteration.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Return feed configuration matrix for specified antenna.
Implements casa::vi::ViImplementation2.
|
inlineoverridevirtual |
Report Name of slowest column that changes at end of current iteration.
Implements casa::vi::ViImplementation2.
Definition at line 242 of file VisibilityIteratorImpl2.h.
References msIter_p.
|
inlinestaticprotected |
Backwriter(2) creation methods.
These methods make it fairly straightforward to create a BackWriter object.
Definition at line 1036 of file VisibilityIteratorImpl2.h.
|
inlinestaticprotected |
Define the Getter and Setter types
Definition at line 1047 of file VisibilityIteratorImpl2.h.
|
protected |
Creates a channel selection for the current subchunk based on the channel or frequency selection made by the user.
|
protected |
|
protected |
|
overridevirtual |
Return false if no more data (in current chunk)
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Return false if no more 'Chunks' of data left.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
reference to actual ms in interator
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
protected |
Allow access to the casacore::MSColumns object; for use by VisBuffer2Adapter KLUGE
Referenced by casa::vi::VisBuffer2Adapter::construct().
|
overridevirtual |
reference to actual ms in interator
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
Referenced by casa::vi::VisBuffer2Adapter::lsrFrequency().
|
overridevirtual |
Name of the MS in the interator.
Implements casa::vi::ViImplementation2.
|
overridevirtual |
return number of Ant
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
|
virtual |
Return true if arrayID has changed since last iteration.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
virtual |
Return true if FieldId/Source has changed since last iteration.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
virtual |
Return true if SpectralWindow has changed since last iteration.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
advance the iteration
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Advance to the next Chunk of data.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Return the number of rows in the current iteration.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Return the numbers of rows in the current chunk.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Return number of rows in all selected ms's.
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Return number of spws, polids, ddids.
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Return the OBSERVATION_IDs.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Access to observation subtable.
Implements casa::vi::ViImplementation2.
VisibilityIteratorImpl2& casa::vi::VisibilityIteratorImpl2::operator= | ( | const VisibilityIteratorImpl2 & | vii | ) |
VisibilityIteratorImpl2& casa::vi::VisibilityIteratorImpl2::operator= | ( | VisibilityIteratorImpl2 && | vii | ) |
|
overridevirtual |
Reset iterator to origin/start of data (of current chunk)
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
virtual |
Reset iterator to true start of data (first chunk)
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overrideprotectedvirtual |
Method to reset the VI back to the start.
Unlike the public version there is a parameter to allow forcing the rewind even if the casacore::MS Iter is already at the origin.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Per antenna:
Implements casa::vi::ViImplementation2.
|
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.
|
overridevirtual |
Return the current phase center as an MDirection.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Access to pointing subtable.
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Return current Polarization Id.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Access to polarization subtable.
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Return frame for polarization(returns PolFrame enum)
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
protected |
Advances the casacore::MS Iterator until it points at a spectral window that is part of the frequency selection.
|
overridevirtual |
Return the PROCESSOR_IDs.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Access to processor subtable.
Implements casa::vi::ViImplementation2.
|
protected |
|
protected |
|
protected |
|
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.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Return scan number.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Select the channels to be returned.
Requires calling originChunks before performing additional iteration.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Set or reset the time interval (in seconds) to use for iteration.
You should call originChunks() to reset the iteration after calling this.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
protected |
|
protected |
|
overrideprotectedvirtual |
Sets the default frequency reporting frame of reference.
This affects the default frame for obtaining the frequencies in a VisBuffer.
Implements casa::vi::ViImplementation2.
|
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.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
protectedvirtual |
Adjusts the tile cache for some columns so that the cache size is optimized for the current input state (e.g., a new data description).
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Return sigma.
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Return sigmaspectrum(a sigma for each channel)
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Determine whether SIGMA_SPECTRUM exists.
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Return the number of sub-intervals in the current chunk.
virtual casacore::Int nSubInterval() const;
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.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Return the current Source Name.
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Access to source subtable.
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Return current SpectralWindow.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Access to spectralWindow subtable.
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Return the STATE_IDs.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Access to state subtable.
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Get the spw, start and nchan for all the ms's is this Visiter that match the frequecy "freqstart-freqStep" and "freqEnd+freqStep" range Can help in doing channel selection above.
. freqFrame is the frame the caller frequency values are in(freqStart and freqEnd) These will be converted to the frame of the selected spw to match
virtual void getSpwInFreqRange(casacore::Block<casacore::Vector<casacore::Int> > & spw, casacore::Block<casacore::Vector<casacore::Int> > & start, casacore::Block<casacore::Vector<casacore::Int> > & nchan, casacore::Double freqStart, casacore::Double freqEnd, casacore::Double freqStep, casacore::MFrequency::Types freqFrame = casacore::MFrequency::LSRK) const;
Get the range of frequency convered by the selected data in the frame requested
virtual void getFreqInSpwRange(casacore::Double& freqStart, casacore::Double& freqEnd, casacore::MFrequency::Types freqframe = casacore::MFrequency::LSRK) const;
Access the current casacore::ROMSColumns object in MSIter
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Access to sysCal subtable.
Implements casa::vi::ViImplementation2.
|
protectedvirtual |
Throws exception if there is a pending (i.e., unapplied) change to the VI's properties.
Called when the VI is advanced since the user probably forgot to apply the changes.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Return MJD midpoint of interval.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Return MJD centroid of interval.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Return nominal time interval.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
assign a VisImagingWeight object to this iterator
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
protected |
Returns true if the named column uses a tiled data manager in the specified MS.
|
overridevirtual |
Return u,v and w (in meters)
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
inlineoverridevirtual |
Report the the ViImplementation type TBD: indicate writable?
Implements casa::vi::ViImplementation2.
Definition at line 148 of file VisibilityIteratorImpl2.h.
|
overridevirtual |
Return the visibilities as found in the casacore::MS, casacore::Cube(npol,nchan,nrow).
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
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::VisibilityIteratorImplAsync2.
|
overridevirtual |
Access to weather subtable.
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Return weight.
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Return weightspectrum(a weight for each channel)
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Determine whether WEIGHT_SPECTRUM exists.
Implements casa::vi::ViImplementation2.
|
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::VisibilityIteratorImplAsync2.
|
overridevirtual |
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);
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::VisibilityIteratorImplAsync2.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Write/modify the flag row column; dimension casacore::Vector(nrow)
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Write/modify the ncorr x nrow SigmaMat.
virtual void writeSigmaMat(const casacore::Matrix<casacore::Float> & sigmat);
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Write/modify the Sigma.
Implements casa::vi::ViImplementation2.
|
overridevirtual |
Write/modify the sigmaSpectrum.
Implements casa::vi::ViImplementation2.
|
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.
void writeVisCorrected(const casacore::Matrix<CStokesVector> & visibilityStokes); void writeVisModel(const casacore::Matrix<CStokesVector> & visibilityStokes); 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::VisibilityIteratorImplAsync2.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::VisibilityIteratorImplAsync2.
|
overridevirtual |
Write/modify the weights.
Implements casa::vi::ViImplementation2.
|
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::VisibilityIteratorImplAsync2.
|
friend |
Definition at line 78 of file VisibilityIteratorImpl2.h.
|
friend |
Definition at line 79 of file VisibilityIteratorImpl2.h.
|
friend |
Definition at line 82 of file VisibilityIteratorImpl2.h.
|
friend |
Definition at line 80 of file VisibilityIteratorImpl2.h.
|
friend |
Definition at line 81 of file VisibilityIteratorImpl2.h.
|
protected |
Definition at line 1189 of file VisibilityIteratorImpl2.h.
|
protected |
Definition at line 1190 of file VisibilityIteratorImpl2.h.
|
mutableprotected |
general collection of cached values
Definition at line 1192 of file VisibilityIteratorImpl2.h.
|
protected |
[use] current channel selector for this casacore::MS & Spw
Definition at line 1194 of file VisibilityIteratorImpl2.h.
|
protected |
[own] cache of recently used channel selectors
Definition at line 1196 of file VisibilityIteratorImpl2.h.
|
protected |
The main columns for the current MS.
Definition at line 1198 of file VisibilityIteratorImpl2.h.
|
protected |
true if a float data column was found
Definition at line 1200 of file VisibilityIteratorImpl2.h.
|
protected |
[own] Current frequency selection
Definition at line 1202 of file VisibilityIteratorImpl2.h.
|
protected |
object to calculate imaging weight
Definition at line 1204 of file VisibilityIteratorImpl2.h.
|
mutableprotected |
cached value of observatory type
Definition at line 1206 of file VisibilityIteratorImpl2.h.
|
protected |
Definition at line 1207 of file VisibilityIteratorImpl2.h.
|
protected |
Definition at line 1208 of file VisibilityIteratorImpl2.h.
|
protected |
true if more data in this chunk
Definition at line 1210 of file VisibilityIteratorImpl2.h.
|
mutableprotected |
Helper class holding casacore::MS derived values.
Definition at line 1218 of file VisibilityIteratorImpl2.h.
|
protected |
array index of current MS
Definition at line 1212 of file VisibilityIteratorImpl2.h.
|
protected |
casacore::MS Iter that underlies the VI (sweeps in chunks)
Definition at line 1216 of file VisibilityIteratorImpl2.h.
Referenced by keyChange().
|
protected |
true if casacore::MS Iter is a start of first MS
Definition at line 1214 of file VisibilityIteratorImpl2.h.
|
protected |
Definition at line 1219 of file VisibilityIteratorImpl2.h.
|
protected |
suggested # of rows in a subchunk
Definition at line 1221 of file VisibilityIteratorImpl2.h.
|
protected |
holds pending changes to VI properties
Definition at line 1223 of file VisibilityIteratorImpl2.h.
|
mutableprotected |
Definition at line 1224 of file VisibilityIteratorImpl2.h.
|
mutableprotected |
Definition at line 1225 of file VisibilityIteratorImpl2.h.
|
protected |
default frequency reporting (not selecting) frame of reference
Definition at line 1227 of file VisibilityIteratorImpl2.h.
|
protected |
Subchunk row management object (see above)
Definition at line 1229 of file VisibilityIteratorImpl2.h.
|
protected |
sort columns specified when creating VI
Definition at line 1231 of file VisibilityIteratorImpl2.h.
|
mutableprotected |
[own] Info about spectral windows
Definition at line 1233 of file VisibilityIteratorImpl2.h.
|
protected |
(chunkN #, subchunk #) pair
Definition at line 1235 of file VisibilityIteratorImpl2.h.
|
protected |
[own] Allows const access to casacore::MS's subtable columns
Definition at line 1237 of file VisibilityIteratorImpl2.h.
|
protected |
Definition at line 1240 of file VisibilityIteratorImpl2.h.
|
protected |
Definition at line 1239 of file VisibilityIteratorImpl2.h.
|
protected |
Definition at line 1238 of file VisibilityIteratorImpl2.h.
|
protected |
Definition at line 1241 of file VisibilityIteratorImpl2.h.
|
protected |
[own] VisBuffer attached to this VI
Definition at line 1244 of file VisibilityIteratorImpl2.h.
|
protected |
Definition at line 1242 of file VisibilityIteratorImpl2.h.
|
protected |
Definition at line 1245 of file VisibilityIteratorImpl2.h.
|
protected |
Definition at line 1246 of file VisibilityIteratorImpl2.h.