57 class MSInterval :
public BaseCompare
62 virtual int comp(
const void * obj1,
const void * obj2)
const;
237 const MS&
ms()
const;
Int msId() const
Return the current MS Id (according to the order in which they appeared in the constructor) ...
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...
A Measure: position on Earth.
Int arrayId() const
Return the current ArrayId.
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 current FieldId.
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.
void setInterval(Double interval)
MSInterval(Double interval)
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.
Bool isSubSet(const Vector< uInt > &r1, const Vector< uInt > &r2)
Determine if the numbers in r1 are a sorted subset of those in r2.
Int polFrame() const
Return frame for polarization (returns PolFrame enum)
Int dataDescriptionId() const
Return current DataDescriptionId.
ScalarColumn< Int > colField_p
virtual void setOffset(Double offset)
const String & sourceName() const
A 2-D Specialization of the Array class.
Block< Int > preselectednChan_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 current PolarizationId.
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...
Block< Int > preselectedChanStart_p
channel selection
A Measure: wave characteristics.
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.
Matrix< SquareMatrix< Complex, 2 > > CJones_p
similar to receptorAngle_p
Bool newMS() const
Return true if msId has changed since last iteration.
Matrix< Double > receptorAnglesFeed0_p
cache for access functions
CountedPtr< ROMSColumns > msc_p
Int spectralWindowId() const
Return current SpectralWindow.
Bool newArray() const
Return True if ArrayId has changed since last iteration.
Bool newPolarizationId() const
Return True if polarization has changed since last iteration.
MFrequency restFrequency_p
void construct(const Block< Int > &sortColumns, Bool addDefaultSortColumns)
handle the construction details
A class to provide easy read-only access to MeasurementSet columns.
virtual MSIter & operator++()
Block< MeasurementSet > bms_p
Int numMS() const
Get the number of actual ms's associated wth this iterator.
Double interval_p
time selection
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 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.
virtual Bool more() const
Return False if there is no more data.
Bool newSpectralWindow() const
Return True if SpectralWindow has changed since last iteration.
Int startChan() const
Return the channel number of the first channel in the DATA.
ScalarColumn< Int > colDataDesc_p
Vector< Double > frequency_p
const Vector< String > & antennaMounts() const
Return a string mount identifier for each antenna.
An iterator class for MeasurementSets.
Vector< SquareMatrix< Complex, 2 > > CJonesFeed0_p
Double prevFirstTimeStamp_p
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.
MSIter()
Default constructor - useful only to assign another iterator later.
ScalarColumn< Int > colArray_p
columns
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 ROMSColumns & msColumns() const
Return reference to the current ROMSColumns.
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.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.
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...