casa
$Rev:20696$
|
VisibilityIterator2 iterates through one or more readonly MeasurementSets. More...
#include <TransformingVi2.h>
Public Member Functions | |
TransformingVi2 (ViImplementation2 *inputVi) | |
virtual | ~TransformingVi2 ()=0 |
Destructor. | |
virtual void | origin () |
+==================================+ | | | Iteration Control and Monitoring | | | +==================================+ | |
virtual Bool | more () const |
virtual void | next () |
virtual Subchunk | getSubchunkId () const |
virtual void | originChunks (Bool forceRewind=False) |
Methods to control chunk iterator. | |
virtual Bool | moreChunks () const |
virtual void | nextChunk () |
virtual Bool | isWritable () const |
virtual Double | getInterval () const |
Return the time interval (in seconds) used for iteration. | |
virtual void | setInterval (Double timeInterval) |
virtual void | setFrequencySelections (const FrequencySelections &selection) |
Select the channels to be returned. | |
virtual void | setRowBlocking (Int nRows) |
Set the 'blocking' size for returning data. | |
virtual Bool | existsColumn (VisBufferComponent2 id) const |
virtual const Block< Int > & | getSortColumns () const |
virtual Bool | isNewArrayId () const |
virtual Bool | isNewFieldId () const |
virtual Bool | isNewMs () const |
virtual Bool | isNewSpectralWindow () const |
virtual Int | nRows () const |
Return the number of rows in the current iteration. | |
virtual void | getRowIds (Vector< uInt > &rowids) const |
Return the row ids as from the original root table. | |
virtual VisBuffer2 * | getVisBuffer () |
virtual void | antenna1 (Vector< Int > &ant1) const |
+=========================+ | | | Subchunk Data Accessors | | | +=========================+ | |
virtual void | antenna2 (Vector< Int > &ant2) const |
Return antenna2. | |
virtual void | corrType (Vector< Int > &corrTypes) const |
Return the correlation type (returns Stokes enums) | |
virtual Int | dataDescriptionId () const |
Return current DataDescription Id. | |
virtual void | exposure (Vector< Double > &expo) const |
Return actual time interval. | |
virtual void | feed1 (Vector< Int > &fd1) const |
Return feed1. | |
virtual void | feed2 (Vector< Int > &fd2) const |
Return feed2. | |
virtual void | fieldIds (Vector< Int > &) const |
Return the current FieldId. | |
virtual void | arrayIds (Vector< Int > &) const |
Return the current ArrayId. | |
virtual String | fieldName () const |
Return the current Field Name. | |
virtual void | flag (Cube< Bool > &flags) const |
Return flag for each polarization, channel and row. | |
virtual void | flag (Matrix< Bool > &flags) const |
Return flag for each channel & row. | |
virtual Bool | flagCategoryExists () const |
Determine whether FLAG_CATEGORY is valid. | |
virtual void | flagCategory (Array< Bool > &flagCategories) const |
Return flags for each polarization, channel, category, and row. | |
virtual void | flagRow (Vector< Bool > &rowflags) const |
Return row flag. | |
virtual void | observationId (Vector< Int > &obsids) const |
Return the OBSERVATION_IDs. | |
virtual Int | polarizationId () const |
Return current Polarization Id. | |
virtual void | processorId (Vector< Int > &procids) const |
Return the PROCESSOR_IDs. | |
virtual void | scan (Vector< Int > &scans) const |
Return scan number. | |
virtual String | sourceName () const |
Return the current Source Name. | |
virtual void | stateId (Vector< Int > &stateids) const |
Return the STATE_IDs. | |
virtual void | jonesC (Vector< SquareMatrix< Complex, 2 > > &cjones) const |
Return feed configuration matrix for specified antenna. | |
virtual Int | polFrame () const |
Return frame for polarization (returns PolFrame enum) | |
virtual void | sigma (Vector< Float > &sig) const |
Return sigma. | |
virtual void | sigmaMat (Matrix< Float > &sigmat) const |
Return sigma matrix (pol-dep) | |
virtual Int | spectralWindow () const |
Return current SpectralWindow. | |
virtual void | spectralWindows (Vector< Int > &spws) const |
virtual void | time (Vector< Double > &t) const |
Return MJD midpoint of interval. | |
virtual void | timeCentroid (Vector< Double > &t) const |
Return MJD centroid of interval. | |
virtual void | timeInterval (Vector< Double > &ti) const |
Return nominal time interval. | |
virtual void | uvw (Matrix< Double > &uvwmat) const |
Return u,v and w (in meters) | |
virtual void | visibilityCorrected (Cube< Complex > &vis) const |
Return the visibilities as found in the MS, Cube (npol,nchan,nrow). | |
virtual void | visibilityModel (Cube< Complex > &vis) const |
virtual void | visibilityObserved (Cube< Complex > &vis) const |
virtual void | floatData (Cube< Float > &fcube) const |
Return FLOAT_DATA as a Cube (npol, nchan, nrow) if found in the MS. | |
virtual IPosition | visibilityShape () const |
Return the visibility 4-vector of polarizations for each channel. | |
virtual void | weight (Vector< Float > &wt) const |
Return weight. | |
virtual void | weightMat (Matrix< Float > &wtmat) const |
Returns the nPol_p x curNumRow_p weight matrix. | |
virtual Bool | weightSpectrumExists () const |
Determine whether WEIGHT_SPECTRUM exists. | |
virtual void | weightSpectrum (Cube< Float > &wtsp) const |
Return weightspectrum (a weight for each channel) | |
virtual Bool | allBeamOffsetsZero () const |
Return the number of sub-intervals in the current chunk. | |
virtual MDirection | azel0 (Double time) const |
Return the antenna AZ/EL Vector (nant) | |
virtual const Vector < MDirection > & | azel (Double time) const |
virtual const Vector< Float > & | feed_pa (Double time) const |
Return feed parallactic angles Vector (nant) (1 feed/ant) | |
virtual const Cube < RigidVector< Double, 2 > > & | getBeamOffsets () const |
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). | |
virtual Double | hourang (Double time) const |
Return the hour angle for the specified time. | |
virtual const Float & | parang0 (Double time) const |
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) | |
virtual const Vector< Float > & | parang (Double time) const |
Per antenna: | |
virtual const MDirection & | phaseCenter () const |
Return the current phase center as an MDirection. | |
virtual const Cube< Double > & | receptorAngles () const |
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. | |
virtual const Vector< String > & | antennaMounts () const |
+=========================+ | | | Chunk and MS Level Data | | | +=========================+ | |
virtual MEpoch | getEpoch () const |
virtual const VisImagingWeight & | getImagingWeightGenerator () const |
Return imaging weight (a weight for each channel) virtual Matrix<Float> & imagingWeight (Matrix<Float> & wt) const;. | |
virtual MFrequency::Types | getObservatoryFrequencyType () const |
virtual MPosition | getObservatoryPosition () const |
virtual Vector< Float > | getReceptor0Angle () |
virtual Int | getReportingFrameOfReference () const |
virtual void | setReportingFrameOfReference (Int frame) |
virtual Vector< Int > | getChannels (Double time, Int frameOfReference) const |
virtual Vector< Int > | getCorrelations () const |
virtual Vector< Double > | getFrequencies (Double time, Int frameOfReference) const |
virtual void | dataDescriptionIds (Vector< Int > &) const |
virtual Int | msId () const |
reference to actual ms in interator | |
virtual const MeasurementSet & | ms () const |
virtual Int | getNMs () const |
virtual void | slurp () const |
Call to use the slurp i/o method for all scalar columns. | |
virtual const vi::SubtableColumns & | subtableColumns () const |
Access the current ROMSColumns object in MSIter. | |
virtual const SpectralWindowChannels & | getSpectralWindowChannels (Int msId, Int spectralWindowId) const |
get back the selected spectral windows and spectral channels for current ms | |
virtual void | useImagingWeight (const VisImagingWeight &imWgt) |
assign a VisImagingWeight object to this iterator | |
virtual Int | nAntennas () const |
Return number of antennasm spws, polids, ddids. | |
virtual Int | nDataDescriptionIds () const |
virtual Int | nPolarizations () const |
virtual Int | nRowsInChunk () const |
virtual Int | nRowsViWillSweep () const |
virtual Int | nSpectralWindows () const |
virtual void | writeBackChanges (VisBuffer2 *vb) |
+-------------------+ | | | Writeback Methods | | | +-------------------+ | |
virtual void | writeFlag (const Matrix< Bool > &flag) |
Write/modify the flags in the data. | |
virtual void | writeFlag (const Cube< Bool > &flag) |
Write/modify the flags in the data. | |
virtual void | writeFlagRow (const Vector< Bool > &rowflags) |
Write/modify the flag row column; dimension Vector (nrow) | |
virtual void | writeFlagCategory (const Array< Bool > &fc) |
virtual void | writeVisCorrected (const Cube< Complex > &vis) |
Write/modify the visibilities. | |
virtual void | writeVisModel (const Cube< Complex > &vis) |
virtual void | writeVisObserved (const Cube< Complex > &vis) |
virtual void | writeWeight (const Matrix< Float > &wt) |
Write/modify the weights. | |
virtual void | writeWeightSpectrum (const Cube< Float > &wtsp) |
Write/modify the weightMat virtual void writeWeightMat (const Matrix<Float> & wtmat);. | |
virtual void | writeSigma (const Matrix< Float > &sig) |
Write/modify the Sigma. | |
virtual void | writeModel (const RecordInterface &rec, Bool iscomponentlist=True, Bool incremental=False) |
Write/modify the ncorr x nrow SigmaMat. | |
Static Public Member Functions | |
static void | azel0Calculate (Double time, MSDerivedValues &msd, MDirection &azel0, const MEpoch &mEpoch0) |
static void | azelCalculate (Double time, MSDerivedValues &msd, Vector< MDirection > &azel, Int nAnt, const MEpoch &mEpoch0) |
static Vector< Float > | feed_paCalculate (Double time, MSDerivedValues &msd, Int nAntennas, const MEpoch &mEpoch0, const Vector< Float > &receptor0Angle) |
static Double | hourangCalculate (Double time, MSDerivedValues &msd, const MEpoch &mEpoch0) |
static Float | parang0Calculate (Double time, MSDerivedValues &msd, const MEpoch &epoch0) |
static Vector< Float > | parangCalculate (Double time, MSDerivedValues &msd, int nAntennas, const MEpoch mEpoch0) |
Protected Member Functions | |
ViImplementation2 * | getVii () const |
void | setVisBuffer (VisBuffer2 *vb) |
Private Attributes | |
ViImplementation2 * | inputVii_p |
VisBuffer2 * | vb_p |
VisibilityIterator2 iterates through one or more readonly MeasurementSets.
Public interface
The VisibilityIterator2 is a readonly iterator returning visibilities
VisibilityIterator2 provides iteration with various sort orders for one or more MSs. It has member functions to retrieve the fields commonly needed in synthesis calibration and imaging.
One should use VisBuffer to access chunks of data.
For imaging and calibration you need to access an MS in some consistent order (by field, spectralwindow, time interval etc.). This class provides that access.
Definition at line 106 of file TransformingVi2.h.
virtual casa::vi::TransformingVi2::~TransformingVi2 | ( | ) | [pure virtual] |
Destructor.
virtual Bool casa::vi::TransformingVi2::allBeamOffsetsZero | ( | ) | const [virtual] |
Return the number of sub-intervals in the current chunk.
+------------------------+ | | | Angular Data Providers | | | +------------------------+
True if all elements of the cube returned by getBeamOffsets are zero
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::antenna1 | ( | Vector< Int > & | ant1 | ) | const [virtual] |
+=========================+ | | | Subchunk Data Accessors | | | +=========================+
Return antenna1
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::antenna2 | ( | Vector< Int > & | ant2 | ) | const [virtual] |
Return antenna2.
Implements casa::vi::ViImplementation2.
virtual const Vector<String>& casa::vi::TransformingVi2::antennaMounts | ( | ) | const [virtual] |
+=========================+ | | | Chunk and MS Level Data | | | +=========================+
return a string mount identifier for each antenna
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::arrayIds | ( | Vector< Int > & | ) | const [virtual] |
Return the current ArrayId.
Implements casa::vi::ViImplementation2.
virtual const Vector<MDirection>& casa::vi::TransformingVi2::azel | ( | Double | time | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual MDirection casa::vi::TransformingVi2::azel0 | ( | Double | time | ) | const [virtual] |
Return the antenna AZ/EL Vector (nant)
Implements casa::vi::ViImplementation2.
static void casa::vi::TransformingVi2::azel0Calculate | ( | Double | time, |
MSDerivedValues & | msd, | ||
MDirection & | azel0, | ||
const MEpoch & | mEpoch0 | ||
) | [static] |
Reimplemented from casa::vi::ViImplementation2.
static void casa::vi::TransformingVi2::azelCalculate | ( | Double | time, |
MSDerivedValues & | msd, | ||
Vector< MDirection > & | azel, | ||
Int | nAnt, | ||
const MEpoch & | mEpoch0 | ||
) | [static] |
Reimplemented from casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::corrType | ( | Vector< Int > & | corrTypes | ) | const [virtual] |
Return the correlation type (returns Stokes enums)
Implements casa::vi::ViImplementation2.
virtual Int casa::vi::TransformingVi2::dataDescriptionId | ( | ) | const [virtual] |
Return current DataDescription Id.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::dataDescriptionIds | ( | Vector< Int > & | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual Bool casa::vi::TransformingVi2::existsColumn | ( | VisBufferComponent2 | id | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::exposure | ( | Vector< Double > & | expo | ) | const [virtual] |
Return actual time interval.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::feed1 | ( | Vector< Int > & | fd1 | ) | const [virtual] |
Return feed1.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::feed2 | ( | Vector< Int > & | fd2 | ) | const [virtual] |
Return feed2.
Implements casa::vi::ViImplementation2.
virtual const Vector<Float>& casa::vi::TransformingVi2::feed_pa | ( | Double | time | ) | const [virtual] |
Return feed parallactic angles Vector (nant) (1 feed/ant)
Implements casa::vi::ViImplementation2.
static Vector<Float> casa::vi::TransformingVi2::feed_paCalculate | ( | Double | time, |
MSDerivedValues & | msd, | ||
Int | nAntennas, | ||
const MEpoch & | mEpoch0, | ||
const Vector< Float > & | receptor0Angle | ||
) | [static] |
Reimplemented from casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::fieldIds | ( | Vector< Int > & | ) | const [virtual] |
Return the current FieldId.
Implements casa::vi::ViImplementation2.
virtual String casa::vi::TransformingVi2::fieldName | ( | ) | const [virtual] |
Return the current Field Name.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::flag | ( | Cube< Bool > & | flags | ) | const [virtual] |
Return flag for each polarization, channel and row.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::flag | ( | Matrix< Bool > & | flags | ) | const [virtual] |
Return flag for each channel & row.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::flagCategory | ( | Array< Bool > & | flagCategories | ) | const [virtual] |
Return flags for each polarization, channel, category, and row.
Implements casa::vi::ViImplementation2.
virtual Bool casa::vi::TransformingVi2::flagCategoryExists | ( | ) | const [virtual] |
Determine whether FLAG_CATEGORY is valid.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::flagRow | ( | Vector< Bool > & | rowflags | ) | const [virtual] |
Return row flag.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::floatData | ( | Cube< Float > & | fcube | ) | const [virtual] |
Return FLOAT_DATA as a Cube (npol, nchan, nrow) if found in the MS.
Implements casa::vi::ViImplementation2.
virtual const Cube<RigidVector<Double, 2> >& casa::vi::TransformingVi2::getBeamOffsets | ( | ) | const [virtual] |
Return a cube containing pairs of coordinate offsets for each receptor of each feed (values are in radians, coordinate system is fixed with antenna and is the same one as used to define the BEAM_OFFSET parameter in the feed table).
The cube axes are receptor, antenna, feed.
Implements casa::vi::ViImplementation2.
virtual Vector<Int> casa::vi::TransformingVi2::getChannels | ( | Double | time, |
Int | frameOfReference | ||
) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual Vector<Int> casa::vi::TransformingVi2::getCorrelations | ( | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual MEpoch casa::vi::TransformingVi2::getEpoch | ( | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual Vector<Double> casa::vi::TransformingVi2::getFrequencies | ( | Double | time, |
Int | frameOfReference | ||
) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual const VisImagingWeight& casa::vi::TransformingVi2::getImagingWeightGenerator | ( | ) | const [virtual] |
Return imaging weight (a weight for each channel) virtual Matrix<Float> & imagingWeight (Matrix<Float> & wt) const;.
Implements casa::vi::ViImplementation2.
virtual Double casa::vi::TransformingVi2::getInterval | ( | ) | const [virtual] |
Return the time interval (in seconds) used for iteration.
This is not the same as the INTERVAL column. Setting the the interval requires calling origin chunks before performing further iterator.
Implements casa::vi::ViImplementation2.
virtual Int casa::vi::TransformingVi2::getNMs | ( | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual MFrequency::Types casa::vi::TransformingVi2::getObservatoryFrequencyType | ( | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual MPosition casa::vi::TransformingVi2::getObservatoryPosition | ( | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual Vector<Float> casa::vi::TransformingVi2::getReceptor0Angle | ( | ) | [virtual] |
Implements casa::vi::ViImplementation2.
virtual Int casa::vi::TransformingVi2::getReportingFrameOfReference | ( | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::getRowIds | ( | Vector< uInt > & | rowids | ) | const [virtual] |
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 Block<Int>& casa::vi::TransformingVi2::getSortColumns | ( | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual const SpectralWindowChannels& casa::vi::TransformingVi2::getSpectralWindowChannels | ( | Int | msId, |
Int | spectralWindowId | ||
) | const [virtual] |
get back the selected spectral windows and spectral channels for current ms
Implements casa::vi::ViImplementation2.
virtual Subchunk casa::vi::TransformingVi2::getSubchunkId | ( | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
ViImplementation2* casa::vi::TransformingVi2::getVii | ( | ) | const [protected] |
virtual VisBuffer2* casa::vi::TransformingVi2::getVisBuffer | ( | ) | [virtual] |
Implements casa::vi::ViImplementation2.
virtual Double casa::vi::TransformingVi2::hourang | ( | Double | time | ) | const [virtual] |
Return the hour angle for the specified time.
Implements casa::vi::ViImplementation2.
static Double casa::vi::TransformingVi2::hourangCalculate | ( | Double | time, |
MSDerivedValues & | msd, | ||
const MEpoch & | mEpoch0 | ||
) | [static] |
Reimplemented from casa::vi::ViImplementation2.
virtual Bool casa::vi::TransformingVi2::isNewArrayId | ( | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual Bool casa::vi::TransformingVi2::isNewFieldId | ( | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual Bool casa::vi::TransformingVi2::isNewMs | ( | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual Bool casa::vi::TransformingVi2::isNewSpectralWindow | ( | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual Bool casa::vi::TransformingVi2::isWritable | ( | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::jonesC | ( | Vector< SquareMatrix< Complex, 2 > > & | cjones | ) | const [virtual] |
Return feed configuration matrix for specified antenna.
Implements casa::vi::ViImplementation2.
virtual Bool casa::vi::TransformingVi2::more | ( | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::AveragingTvi2.
virtual Bool casa::vi::TransformingVi2::moreChunks | ( | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::AveragingTvi2.
virtual const MeasurementSet& casa::vi::TransformingVi2::ms | ( | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual Int casa::vi::TransformingVi2::msId | ( | ) | const [virtual] |
reference to actual ms in interator
Implements casa::vi::ViImplementation2.
virtual Int casa::vi::TransformingVi2::nAntennas | ( | ) | const [virtual] |
Return number of antennasm spws, polids, ddids.
Implements casa::vi::ViImplementation2.
virtual Int casa::vi::TransformingVi2::nDataDescriptionIds | ( | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::next | ( | ) | [virtual] |
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::FinalTvi2, and casa::vi::AveragingTvi2.
virtual void casa::vi::TransformingVi2::nextChunk | ( | ) | [virtual] |
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::AveragingTvi2.
virtual Int casa::vi::TransformingVi2::nPolarizations | ( | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual Int casa::vi::TransformingVi2::nRows | ( | ) | const [virtual] |
Return the number of rows in the current iteration.
Implements casa::vi::ViImplementation2.
virtual Int casa::vi::TransformingVi2::nRowsInChunk | ( | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual Int casa::vi::TransformingVi2::nRowsViWillSweep | ( | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual Int casa::vi::TransformingVi2::nSpectralWindows | ( | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::observationId | ( | Vector< Int > & | obsids | ) | const [virtual] |
Return the OBSERVATION_IDs.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::origin | ( | ) | [virtual] |
+==================================+ | | | Iteration Control and Monitoring | | | +==================================+
Methods to control and monitor subchunk iteration
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::FinalTvi2, and casa::vi::AveragingTvi2.
virtual void casa::vi::TransformingVi2::originChunks | ( | Bool | forceRewind = False | ) | [virtual] |
Methods to control chunk iterator.
Implements casa::vi::ViImplementation2.
virtual const Vector<Float>& casa::vi::TransformingVi2::parang | ( | Double | time | ) | const [virtual] |
Per antenna:
Implements casa::vi::ViImplementation2.
virtual const Float& casa::vi::TransformingVi2::parang0 | ( | Double | time | ) | const [virtual] |
Return nominal parallactic angle at specified time (does not include feed position angle offset--see feed_pa) A global value for all antennas (e.g., small array)
Implements casa::vi::ViImplementation2.
static Float casa::vi::TransformingVi2::parang0Calculate | ( | Double | time, |
MSDerivedValues & | msd, | ||
const MEpoch & | epoch0 | ||
) | [static] |
Reimplemented from casa::vi::ViImplementation2.
static Vector<Float> casa::vi::TransformingVi2::parangCalculate | ( | Double | time, |
MSDerivedValues & | msd, | ||
int | nAntennas, | ||
const MEpoch | mEpoch0 | ||
) | [static] |
Reimplemented from casa::vi::ViImplementation2.
virtual const MDirection& casa::vi::TransformingVi2::phaseCenter | ( | ) | const [virtual] |
Return the current phase center as an MDirection.
Implements casa::vi::ViImplementation2.
virtual Int casa::vi::TransformingVi2::polarizationId | ( | ) | const [virtual] |
Return current Polarization Id.
Implements casa::vi::ViImplementation2.
virtual Int casa::vi::TransformingVi2::polFrame | ( | ) | const [virtual] |
Return frame for polarization (returns PolFrame enum)
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::processorId | ( | Vector< Int > & | procids | ) | const [virtual] |
Return the PROCESSOR_IDs.
Implements casa::vi::ViImplementation2.
virtual const Cube<Double>& casa::vi::TransformingVi2::receptorAngles | ( | ) | const [virtual] |
Return receptor angles for all antennae and feeds First axis of the cube is a receptor number, 2nd is antennaId, 3rd is feedId Note: the method is intended to provide an access to MSIter::receptorAngles for VisBuffer in the multi-feed case.
It may be worth to change the interface of feed_pa to return the information for all feeds.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::scan | ( | Vector< Int > & | scans | ) | const [virtual] |
Return scan number.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::setFrequencySelections | ( | const FrequencySelections & | selection | ) | [virtual] |
Select the channels to be returned.
Requires calling originChunks before performing additional iteration.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::setInterval | ( | Double | timeInterval | ) | [virtual] |
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::setReportingFrameOfReference | ( | Int | frame | ) | [virtual] |
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::setRowBlocking | ( | Int | nRows | ) | [virtual] |
Set the 'blocking' size for returning data.
With the default (0) only a single integration is returned at a time, this is what is currently required for the calibration software. With blocking set, up to nRows can be returned in one go. The chunk size determines the actual maximum.
Implements casa::vi::ViImplementation2.
void casa::vi::TransformingVi2::setVisBuffer | ( | VisBuffer2 * | vb | ) | [protected] |
virtual void casa::vi::TransformingVi2::sigma | ( | Vector< Float > & | sig | ) | const [virtual] |
Return sigma.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::sigmaMat | ( | Matrix< Float > & | sigmat | ) | const [virtual] |
Return sigma matrix (pol-dep)
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::slurp | ( | ) | const [virtual] |
Call to use the slurp i/o method for all scalar columns.
This will set the 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 Table i/o code, which uses BucketCache and performs extremely bad for random access. Slurping is useful when iterating non-sequentially an MS or parts of an MS, it is not tested with multiple MSs.
Implements casa::vi::ViImplementation2.
virtual String casa::vi::TransformingVi2::sourceName | ( | ) | const [virtual] |
Return the current Source Name.
Implements casa::vi::ViImplementation2.
virtual Int casa::vi::TransformingVi2::spectralWindow | ( | ) | const [virtual] |
Return current SpectralWindow.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::spectralWindows | ( | Vector< Int > & | spws | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::stateId | ( | Vector< Int > & | stateids | ) | const [virtual] |
Return the STATE_IDs.
Implements casa::vi::ViImplementation2.
virtual const vi::SubtableColumns& casa::vi::TransformingVi2::subtableColumns | ( | ) | const [virtual] |
Access the current ROMSColumns object in MSIter.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::time | ( | Vector< Double > & | t | ) | const [virtual] |
Return MJD midpoint of interval.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::timeCentroid | ( | Vector< Double > & | t | ) | const [virtual] |
Return MJD centroid of interval.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::timeInterval | ( | Vector< Double > & | ti | ) | const [virtual] |
Return nominal time interval.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::useImagingWeight | ( | const VisImagingWeight & | imWgt | ) | [virtual] |
assign a VisImagingWeight object to this iterator
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::uvw | ( | Matrix< Double > & | uvwmat | ) | const [virtual] |
Return u,v and w (in meters)
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::visibilityCorrected | ( | Cube< Complex > & | vis | ) | const [virtual] |
Return the visibilities as found in the MS, Cube (npol,nchan,nrow).
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::visibilityModel | ( | Cube< Complex > & | vis | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::visibilityObserved | ( | Cube< Complex > & | vis | ) | const [virtual] |
Implements casa::vi::ViImplementation2.
virtual IPosition casa::vi::TransformingVi2::visibilityShape | ( | ) | const [virtual] |
Return the visibility 4-vector of polarizations for each channel.
If the MS doesn't contain all polarizations, it is assumed it contains one or two parallel hand polarizations.
virtual void visibilityCorrected (Matrix<CStokesVector> & vis) const; virtual void visibilityModel (Matrix<CStokesVector> & vis) const; virtual void visibilityObserved (Matrix<CStokesVector> & vis) const;
Return the shape of the visibility Cube
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::weight | ( | Vector< Float > & | wt | ) | const [virtual] |
Return weight.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::weightMat | ( | Matrix< Float > & | wtmat | ) | const [virtual] |
Returns the nPol_p x curNumRow_p weight matrix.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::weightSpectrum | ( | Cube< Float > & | wtsp | ) | const [virtual] |
Return weightspectrum (a weight for each channel)
Implements casa::vi::ViImplementation2.
virtual Bool casa::vi::TransformingVi2::weightSpectrumExists | ( | ) | const [virtual] |
Determine whether WEIGHT_SPECTRUM exists.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::writeBackChanges | ( | VisBuffer2 * | vb | ) | [virtual] |
+-------------------+ | | | Writeback Methods | | | +-------------------+
This method writes back any changed (dirty) components of the provided VisBuffer and is the preferred method for writing data out.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::FinalTvi2.
virtual void casa::vi::TransformingVi2::writeFlag | ( | const Matrix< Bool > & | flag | ) | [virtual] |
Write/modify the flags in the data.
This will flag all channels in the original data that contributed to the output channel in the case of channel averaging. All polarizations have the same flag value.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::FinalTvi2.
virtual void casa::vi::TransformingVi2::writeFlag | ( | const Cube< Bool > & | flag | ) | [virtual] |
Write/modify the flags in the data.
This writes the flags as found in the MS, Cube (npol,nchan,nrow), where nrow is the number of rows in the current iteration (given by nRow ()).
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::FinalTvi2.
virtual void casa::vi::TransformingVi2::writeFlagCategory | ( | const Array< Bool > & | fc | ) | [virtual] |
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::FinalTvi2.
virtual void casa::vi::TransformingVi2::writeFlagRow | ( | const Vector< Bool > & | rowflags | ) | [virtual] |
Write/modify the flag row column; dimension Vector (nrow)
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::FinalTvi2.
virtual void casa::vi::TransformingVi2::writeModel | ( | const RecordInterface & | rec, |
Bool | iscomponentlist = True , |
||
Bool | incremental = False |
||
) | [virtual] |
Write/modify the ncorr x nrow SigmaMat.
virtual void writeSigmaMat (const Matrix<Float> & sigmat);
Write the information needed to generate on-the-fly model visibilities.
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::FinalTvi2.
virtual void casa::vi::TransformingVi2::writeSigma | ( | const Matrix< Float > & | sig | ) | [virtual] |
Write/modify the Sigma.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::writeVisCorrected | ( | const Cube< Complex > & | vis | ) | [virtual] |
Write/modify the visibilities.
This is possibly only for a 'reference' 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 MS does not contain all polarizations, only the parallel hand polarizations are used. virtual void writeVisCorrected (const Matrix<CStokesVector> & visibilityStokes); virtual void writeVisModel (const Matrix<CStokesVector> & visibilityStokes); virtual void writeVisObserved (const Matrix<CStokesVector> & visibilityStokes);
Write/modify the visibilities This writes the data as found in the MS, Cube (npol,nchan,nrow).
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::FinalTvi2.
virtual void casa::vi::TransformingVi2::writeVisModel | ( | const Cube< Complex > & | vis | ) | [virtual] |
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::FinalTvi2.
virtual void casa::vi::TransformingVi2::writeVisObserved | ( | const Cube< Complex > & | vis | ) | [virtual] |
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::FinalTvi2.
virtual void casa::vi::TransformingVi2::writeWeight | ( | const Matrix< Float > & | wt | ) | [virtual] |
Write/modify the weights.
Implements casa::vi::ViImplementation2.
virtual void casa::vi::TransformingVi2::writeWeightSpectrum | ( | const Cube< Float > & | wtsp | ) | [virtual] |
Write/modify the weightMat virtual void writeWeightMat (const Matrix<Float> & wtmat);.
Write/modify the weightSpectrum
Implements casa::vi::ViImplementation2.
Reimplemented in casa::vi::FinalTvi2.
Definition at line 557 of file TransformingVi2.h.
VisBuffer2* casa::vi::TransformingVi2::vb_p [private] |
Definition at line 558 of file TransformingVi2.h.