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

A utility class that provides an API that allows clients to find grid indices in time and frequency from a SBDList that can include multiple spectral windows. More...

#include <FringeJones.h>

Public Member Functions

 SDBListGridManager (SDBList &sdbs_)
 
casacore::Int nSPW ()
 
casacore::Int bigFreqGridIndex (casacore::Double f)
 
casacore::Int getTimeIndex (casacore::Double t)
 
casacore::Int nChannels ()
 
casacore::Int swStartIndex (casacore::Int spw)
 
void checkAllGridpoints ()
 

Public Attributes

casacore::Double fmin
 
casacore::Double fmax
 
casacore::Double df
 
casacore::Double tmin
 
casacore::Double tmax
 
casacore::Double dt
 
casacore::Int nt
 
casacore::Int totalChans
 
casacore::Int nSPWChan
 

Private Attributes

SDBListsdbs
 
std::set< casacore::Intspwins
 
std::set< casacore::Doubletimes
 
std::map< casacore::Int,
casacore::Vector
< casacore::Double > const * > 
spwIdToFreqMap
 You can't store references in a map. More...
 

Detailed Description

A utility class that provides an API that allows clients to find grid indices in time and frequency from a SBDList that can include multiple spectral windows.

Definition at line 76 of file FringeJones.h.

Constructor & Destructor Documentation

casa::SDBListGridManager::SDBListGridManager ( SDBList sdbs_)

Member Function Documentation

casacore::Int casa::SDBListGridManager::bigFreqGridIndex ( casacore::Double  f)
inline

Definition at line 91 of file FringeJones.h.

References df, fmin, and casa::utilj::round().

void casa::SDBListGridManager::checkAllGridpoints ( )
casacore::Int casa::SDBListGridManager::getTimeIndex ( casacore::Double  t)
inline

Definition at line 92 of file FringeJones.h.

References dt, casa::utilj::round(), and tmin.

casacore::Int casa::SDBListGridManager::nChannels ( )
inline

Definition at line 93 of file FringeJones.h.

References totalChans.

casacore::Int casa::SDBListGridManager::nSPW ( )
inline

Definition at line 90 of file FringeJones.h.

References spwins.

casacore::Int casa::SDBListGridManager::swStartIndex ( casacore::Int  spw)

Member Data Documentation

casacore::Double casa::SDBListGridManager::df

Definition at line 78 of file FringeJones.h.

Referenced by bigFreqGridIndex().

casacore::Double casa::SDBListGridManager::dt

Definition at line 79 of file FringeJones.h.

Referenced by getTimeIndex().

casacore::Double casa::SDBListGridManager::fmax

Definition at line 78 of file FringeJones.h.

casacore::Double casa::SDBListGridManager::fmin

Definition at line 78 of file FringeJones.h.

Referenced by bigFreqGridIndex().

casacore::Int casa::SDBListGridManager::nSPWChan

Definition at line 80 of file FringeJones.h.

casacore::Int casa::SDBListGridManager::nt

Definition at line 80 of file FringeJones.h.

SDBList& casa::SDBListGridManager::sdbs
private

Definition at line 82 of file FringeJones.h.

std::map< casacore::Int, casacore::Vector<casacore::Double> const * > casa::SDBListGridManager::spwIdToFreqMap
private

You can't store references in a map.

C++ 11 has a reference_wrapper type, but for now:

Definition at line 87 of file FringeJones.h.

std::set< casacore::Int > casa::SDBListGridManager::spwins
private

Definition at line 83 of file FringeJones.h.

Referenced by nSPW().

std::set< casacore::Double > casa::SDBListGridManager::times
private

Definition at line 84 of file FringeJones.h.

casacore::Double casa::SDBListGridManager::tmax

Definition at line 79 of file FringeJones.h.

casacore::Double casa::SDBListGridManager::tmin

Definition at line 79 of file FringeJones.h.

Referenced by getTimeIndex().

casacore::Int casa::SDBListGridManager::totalChans

Definition at line 80 of file FringeJones.h.

Referenced by nChannels().


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