casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
casa::ScantableFrequenciesIterator Class Reference

#include <ScantableIterator.h>

Inheritance diagram for casa::ScantableFrequenciesIterator:
casa::ScantableIteratorInterface

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 ()
 

Private Attributes

casacore::Table sub_table_
 
casacore::ScalarColumn
< casacore::uInt
id_column_
 
casacore::ScalarColumn
< casacore::Double
refpix_column_
 
casacore::ScalarColumn
< casacore::Double
refval_column_
 
casacore::ScalarColumn
< casacore::Double
increment_column_
 
casacore::Vector< casacore::uIntifno_list_
 
casacore::Vector< casacore::uIntid_list_
 
Product product_
 

Additional Inherited Members

- Protected Attributes inherited from casa::ScantableIteratorInterface
size_t current_iter_
 
casacore::Table const main_table_
 

Detailed Description

Definition at line 92 of file ScantableIterator.h.

Member Typedef Documentation

Definition at line 94 of file ScantableIterator.h.

Constructor & Destructor Documentation

casa::ScantableFrequenciesIterator::ScantableFrequenciesIterator ( casacore::Table const &  table)
inline
virtual casa::ScantableFrequenciesIterator::~ScantableFrequenciesIterator ( )
inlinevirtual

Definition at line 123 of file ScantableIterator.h.

Member Function Documentation

void casa::ScantableFrequenciesIterator::getEntry ( sdfiller::SpectralWindowRecord record)
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.

virtual void casa::ScantableFrequenciesIterator::getProduct ( Product p)
inlinevirtual

Definition at line 164 of file ScantableIterator.h.

Member Data Documentation

casacore::ScalarColumn<casacore::uInt> casa::ScantableFrequenciesIterator::id_column_
private

Definition at line 174 of file ScantableIterator.h.

casacore::Vector<casacore::uInt> casa::ScantableFrequenciesIterator::id_list_
private

Definition at line 179 of file ScantableIterator.h.

casacore::Vector<casacore::uInt> casa::ScantableFrequenciesIterator::ifno_list_
private

Definition at line 178 of file ScantableIterator.h.

casacore::ScalarColumn<casacore::Double> casa::ScantableFrequenciesIterator::increment_column_
private

Definition at line 177 of file ScantableIterator.h.

Product casa::ScantableFrequenciesIterator::product_
private

Definition at line 180 of file ScantableIterator.h.

casacore::ScalarColumn<casacore::Double> casa::ScantableFrequenciesIterator::refpix_column_
private

Definition at line 175 of file ScantableIterator.h.

casacore::ScalarColumn<casacore::Double> casa::ScantableFrequenciesIterator::refval_column_
private

Definition at line 176 of file ScantableIterator.h.

casacore::Table casa::ScantableFrequenciesIterator::sub_table_
private

Definition at line 173 of file ScantableIterator.h.


The documentation for this class was generated from the following file: