casa
5.7.0-16
|
#include <ScantableIterator.h>
Public Types | |
typedef std::map < casacore::Int, casacore::Int > | Product |
Public Member Functions | |
ScantableFrequenciesIterator (casacore::Table const &table) | |
virtual | ~ScantableFrequenciesIterator () |
void | getEntry (sdfiller::SpectralWindowRecord &record) |
virtual void | getProduct (Product *p) |
Public Member Functions inherited from casa::ScantableIteratorInterface | |
ScantableIteratorInterface (casacore::Table const &table) | |
virtual | ~ScantableIteratorInterface () |
void | initialize (size_t num_iter) |
bool | moreData () const |
void | next () |
Additional Inherited Members | |
Protected Attributes inherited from casa::ScantableIteratorInterface | |
size_t | current_iter_ |
casacore::Table const | main_table_ |
Definition at line 92 of file ScantableIterator.h.
typedef std::map<casacore::Int, casacore::Int> casa::ScantableFrequenciesIterator::Product |
Definition at line 94 of file ScantableIterator.h.
|
inline |
size_t nrow = sub_table_.nrow();
attach columns
Definition at line 95 of file ScantableIterator.h.
References casacore::TableRecord::asTable(), casacore::Array< T >::data(), casacore::ScalarColumn< T >::getColumn(), casacore::Sort::HeapSort, casacore::ArrayBase::nelements(), casacore::Sort::NoDuplicates, casacore::Sort::sort(), and casacore::Sort::sortKey().
|
inlinevirtual |
Definition at line 123 of file ScantableIterator.h.
|
inline |
std::cout << "getEntry for row " << irow << std::endl;
std::cout << "spw " << spw_id << " nchan " << num_chan << " mfr " << (casacore::Int) frame_type << " (" << freq_frame << ") ref " << refpix << ", " << refval << ", " << increment << std::endl;
update product
Definition at line 126 of file ScantableIterator.h.
References casacore::MFrequency::getType(), casa::sdfiller::SpectralWindowRecord::increment, casa::sdfiller::SpectralWindowRecord::meas_freq_ref, casacore::MFrequency::N_Types, casa::sdfiller::SpectralWindowRecord::num_chan, casa::sdfiller::SpectralWindowRecord::refpix, casa::sdfiller::SpectralWindowRecord::refval, casacore::ArrayColumn< T >::shape(), and casa::sdfiller::SpectralWindowRecord::spw_id.
|
inlinevirtual |
Definition at line 164 of file ScantableIterator.h.
|
private |
Definition at line 174 of file ScantableIterator.h.
|
private |
Definition at line 179 of file ScantableIterator.h.
|
private |
Definition at line 178 of file ScantableIterator.h.
|
private |
Definition at line 177 of file ScantableIterator.h.
|
private |
Definition at line 180 of file ScantableIterator.h.
|
private |
Definition at line 175 of file ScantableIterator.h.
|
private |
Definition at line 176 of file ScantableIterator.h.
|
private |
Definition at line 173 of file ScantableIterator.h.