28 #ifndef CALIBRATION_CALTABITER_H
29 #define CALIBRATION_CALTABITER_H
casacore::Int nchan() const
casacore::Bool singleSpw_
If true, spw is unique per iteration, and it is safe to access channel axis info. ...
casacore::Vector< casacore::Double > interval() const
casacore::Int nrow() const
casacore::Cube< casacore::Complex > cparam() const
casacore::Vector< casacore::Int > obs() const
casacore::Vector< casacore::Int > scan() const
casacore::Int thisField() const
void setcparam(const casacore::Cube< casacore::Complex > &c)
casacore::Vector< casacore::Double > time() const
CTMainColumns * iRWCTMainCols_
Writable column access.
CTIter & operator=(const CTIter &other)
NewCalTable * irwnct_
Per-iteration table.
casacore::Int thisAntenna1() const
ROCTColumns calCol_
Access to subtables (e.g., for frequencies)
void setfparam(const casacore::Cube< casacore::Float > &f)
Set the parameters.
casacore::Cube< casacore::Float > casfparam(casacore::String what="") const
void reset()
Iteration operators.
Bool pastEnd() const
Test if at the end.
void setfield(casacore::Int fieldid)
Set fieldid.
casacore::Cube< casacore::Float > paramErr() const
casacore::Int thisAntenna2() const
casacore::Int thisScan() const
ROCTIter: Read-only iterating interface to New Calibration tables.
casacore::Vector< casacore::Int > field() const
casacore::Cube< casacore::Float > snr() const
NewCalTable * inct_
Per-iteration table.
void setflag(const casacore::Cube< casacore::Bool > &flag)
Set the flags.
casacore::Vector< casacore::Int > chan() const
casacore::Int thisObs() const
casacore::Cube< casacore::Bool > flag() const
casacore::Vector< casacore::Double > freq() const
casacore::Vector< casacore::Int > antenna1() const
void setantenna2(const casacore::Vector< casacore::Int > &a2)
Set antenna2 (e.g., used for setting refant)
casacore::Double thisInterval() const
bool Bool
Define the standard types used by Casacore.
Writable version (limited to certain 'columns')
casacore::TableIterator * ti_
The underlying TableIterator.
void setscan(casacore::Int scan)
Set scan number.
uInt nrow() const
Get the number of rows.
ROCTIter & operator=(const ROCTIter &other)
virtual void attach()
Attach accessors.
CTIter(NewCalTable tab, const casacore::Block< casacore::String > &sortcol)
Constructor/Destructor.
Table table() const
Get the current group.
casacore::Double thisTime() const
Column accessors Those methods that return scalars for data coordinates (e.g., thisTime(), thisField(), etc.) return the first element of the corresponding vector of values in the current iteration.
casacore::Vector< casacore::Int > antenna2() const
const Double c
Fundamental physical constants (SI units):
casacore::Cube< casacore::Float > fparam() const
NewCalTable parentNCT_
The parent NewCalTable (casacore::Table) object (stays in scope for the life of the CTIter) ...
String: the storage and methods of handling collections of characters.
A class to provide easy read-only access to new CalTable columns.
casacore::Int thisSpw() const
ROCTIter(NewCalTable tab, const casacore::Block< casacore::String > &sortcol)
Constructor/Destructor.
casacore::Vector< casacore::Int > spw() const
casacore::Cube< casacore::Float > wt() const
void setobs(casacore::Int obs)
Set obsid.
casacore::Vector< casacore::String > sortCols_
casacore::Data:
virtual void attach()
Attach writable column access.
NewCalTable table() const
Return the current table iteration.
void reset()
Reset the iterator (i.e.
ROCTMainColumns * iROCTMainCols_
Per-iteration columns.