62 virtual int comp(
const void * obj1,
const void * obj2)
const;
257 const MS&
ms()
const;
382 size_t numMS()
const;
387 const MS&
ms(
const size_t n)
const;
void setFieldInfo() const
A Measure: astronomical direction.
const MPosition & telescopePosition() const
Return the telescope position (if a known telescope) or the position of the first antenna (if unknown...
String curFieldNameFirst_p
A Measure: position on Earth.
Int arrayId() const
Return the ArrayId of the first element in this iteration.
Block< Bool > tabIterAtStart_p
const Matrix< SquareMatrix< Complex, 2 > > & CJonesAll() const
Return the feed configuration/leakage matrix for all feeds and antennae First axis is antennaId...
MPosition telescopePosition_p
Int fieldId() const
Return the FieldId of the first element in this iteration.
Bool storeSorted_p
Globally control disk storage of SORTED_TABLE.
PtrBlock< TableIterator * > tabIter_p
Main interface class to a read/write table.
Bool newField() const
Return True if FieldId/Source has changed since last iteration Note that if MS_FIELD_ID is not part o...
void setInterval(Double interval)
MSInterval(Double interval)
Int lastDataDescId_p
These variables point to the IDs of the previous iteration.
Cube< Double > receptorAngles_p
temporary retained for compatibility contain actually a reference to the first plane of receptorAngle...
const MFrequency & restFrequency(Int line=0) const
Return the rest frequency of the specified line as a Measure.
const Matrix< Double > & receptorAngle() const
Return the receptor angle for feed 0 on each antenna.
Int polFrame() const
Return frame for polarization of the first element in this iteration.
Bool timeInSort_p
This booleans determine if given columns are part of the sorting.
Int dataDescriptionId() const
Return DataDescriptionId of the first element in this iteration.
ScalarColumn< Int > colField_p
virtual void setOffset(Double offset)
const String & sourceName() const
A 2-D Specialization of the Array class.
String curSourceNameFirst_p
const String & fieldName() const
return FIELD table associated current fieldname and sourcename respectively
MSIter & operator=(const MSIter &other)
Assigment.
void setInterval(Double timeInterval)
Set or reset the time interval to use for iteration.
Int polarizationId() const
Return PolarizationId of the first element in this iteration.
Vector< String > antennaMounts_p
const Vector< SquareMatrix< Complex, 2 > > & CJones() const
Return the feed configuration/leakage matrix for feed 0 on each antenna TODO: CJonesAll can be used i...
A Measure: wave characteristics.
Bool newSpectralWindowId_p
Int lastSpectralWindowId_p
virtual void setState()
set the iteration state
Referenced counted pointer for constant data.
Bool newDataDescriptionId() const
Return True if DataDescriptionId has changed since last iteration Note that if MS_DATA_DESC_ID is not...
Matrix< SquareMatrix< Complex, 2 > > CJones_p
similar to receptorAngle_p
const MSColumns & msColumns() const
Return reference to the current MSColumns.
Bool newMS() const
Return true if msId has changed since last iteration.
Matrix< Double > receptorAnglesFeed0_p
cache for access functions
Int spectralWindowId() const
Return SpectralWindow of the first element in this iteration.
Bool newArray() const
Return True if ArrayId has changed since last iteration Note that if MS_ARRAY is not part of the sort...
Bool newPolarizationId() const
Return True if polarization has changed since last iteration Note that if MS_DATA_DESC_ID is not part...
void cacheCurrentDDInfo() const
Store the current DD, SPW, Pol ID.
MFrequency restFrequency_p
void construct(const Block< Int > &sortColumns, Bool addDefaultSortColumns)
handle the construction details
virtual MSIter & operator++()
Block< MeasurementSet > bms_p
Double interval_p
time selection
Bool isSubSet(const Vector< rownr_t > &r1, const Vector< rownr_t > &r2)
Determine if the numbers in r1 are a sorted subset of those in r2.
const Vector< Double > & frequency() const
Return the frequencies corresponding to the DATA matrix.
const MS & ms() const
Return reference to the current MS.
Table table() const
Return the current Table iteration.
Bool allBeamOffsetsZero() const
True if all elements of the cube returned by getBeamOffsets are zero.
bool Bool
Define the standard types used by Casacore.
virtual ~MSIter()
Destructor.
const Cube< RigidVector< Double, 2 > > & getBeamOffsets() const
Return a cube containing pairs of coordinate offset for each receptor of each feed (values are in rad...
const MDirection & phaseCenter() const
Returns the phasecenter for the first time stamp of the iteration The time is important for field tab...
const MFrequency & frequency0() const
Return frequency of first channel of the first element in iteration with reference frame as a Measure...
PolFrame polFrame_p
are zero (to speed things up in a single beam case)
A drop-in replacement for Block<T*>.
void advance()
advance the iteration
CountedPtr< MSInterval > timeComp_p
A Table intended to hold astronomical data (a set of Measurements).
Double getInterval() const
virtual int comp(const void *obj1, const void *obj2) const
Compare two objects, and return.
Small helper class to specify an 'interval' comparison.
void cacheExtraDDInfo() const
Store extra info related to the DD.
virtual Bool more() const
Return False if there is no more data.
Bool newSpectralWindow() const
Return True if SpectralWindow has changed since last iteration Note that if MS_DATA_DESC_ID is not pa...
abstract base class for comparing two objects
ScalarColumn< Int > colDataDesc_p
This column is mutable since it is only attached when it is neccesary to read the DD Ids...
Vector< Double > frequency_p
const ScalarColumn< Int > & colArrayIds() const
Return the current ArrayIds for all rows in this iteration.
Int curSpectralWindowIdFirst_p
const Vector< String > & antennaMounts() const
Return a string mount identifier for each antenna.
CountedPtr< MSColumns > msc_p
An iterator class for MeasurementSets.
Vector< SquareMatrix< Complex, 2 > > CJonesFeed0_p
Int curDataDescIdFirst_p
These variables point to the current (as in this iteration) DD, SPW and polarization IDs...
Double prevFirstTimeStamp_p
A class to provide easy access to MeasurementSet columns.
bool feedInfoCached_p
Variable to know whether the feed info is already computed.
size_t msId() const
Return the current MS Id (according to the order in which they appeared in the constructor) ...
size_t numMS() const
Get the number of actual ms's associated wth this iterator.
String: the storage and methods of handling collections of characters.
Bool allBeamOffsetsZero_p
each element of the cube in radians) in the antenna coordinate system.
Bool freqCacheOK_p
hence mutable.
Int curPolarizationIdFirst_p
MSIter()
Default constructor - useful only to assign another iterator later.
ScalarColumn< Int > colArray_p
const ScalarColumn< Int > & colFieldIds() const
Return the current FieldIds for all rows in this iteration.
virtual void origin()
Reset iterator to start of data.
Cube< RigidVector< Double, 2 > > beamOffsets_p
antenna (e.g.
const String & keyChange() const
Report Name of slowest column that changes at end of current iteration.
const Cube< Double > & receptorAngles() const
Return the receptor angles for all feeds and antennae First axis is a receptor number, 2nd axis is antennaId, 3rd axis is feedId.
const ScalarColumn< Int > & colDataDescriptionIds() const
Return the current DataDescriptionIds for all rows in this iteration.
void getSpwInFreqRange(Block< Vector< Int > > &spw, Block< Vector< Int > > &start, Block< Vector< Int > > &nchan, Double freqStart, Double freqEnd, Double freqStep)
Get the spw, start and nchan for all the ms's is this msiter that match the frequecy "freqstart-freqS...