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

#include <ViFrequencySelection.h>

Inheritance diagram for casa::vi::FrequencySelectionUsingFrame:
casa::vi::FrequencySelection

Classes

class  Element
 

Public Types

typedef std::vector< ElementElements
 
typedef Elements::const_iterator const_iterator
 
- Public Types inherited from casa::vi::FrequencySelection
enum  SpecialFrames {
  Unknown,
  ByChannel
}
 

Public Member Functions

 FrequencySelectionUsingFrame (casacore::MFrequency::Types frameOfReference)
 
void add (casacore::Int spectralWindow, double bottomFrequency, double topFrequency)
 
const_iterator begin () const
 void add (casacore::Int spectralWindow, double bottomFrequency, double topFrequency, double increment); More...
 
FrequencySelectionclone () const
 
casacore::Bool empty () const
 
const_iterator end () const
 
set< int > getSelectedWindows () const
 
casacore::String toString () const
 
std::map< int, std::pair< int,
int > > 
getChannelRange (const casacore::MeasurementSet &ms) const
 This will return a map where the key is the spw and the pair is the pair (nchan, start) for that spw. More...
 
- Public Member Functions inherited from casa::vi::FrequencySelection
virtual ~FrequencySelection ()
 
void addCorrelationSlices (const casacore::Vector< casacore::Vector< casacore::Slice > > &slices)
 
void filterByWindow (casacore::Int windowId=-1) const
 
casacore::Vector< casacore::SlicegetCorrelationSlices (casacore::Int polarizationId) const
 
casacore::Int getFrameOfReference () const
 

Private Attributes

Elements elements_p
 
Elements filtered_p
 

Additional Inherited Members

- Static Public Member Functions inherited from casa::vi::FrequencySelection
static casacore::String frameName (casacore::Int referenceFrame)
 
- Protected Member Functions inherited from casa::vi::FrequencySelection
 FrequencySelection (casacore::Int referenceFrame)
 
casacore::Int filterWindow () const
 

Detailed Description

Definition at line 119 of file ViFrequencySelection.h.

Member Typedef Documentation

Definition at line 150 of file ViFrequencySelection.h.

Definition at line 149 of file ViFrequencySelection.h.

Constructor & Destructor Documentation

casa::vi::FrequencySelectionUsingFrame::FrequencySelectionUsingFrame ( casacore::MFrequency::Types  frameOfReference)

Member Function Documentation

void casa::vi::FrequencySelectionUsingFrame::add ( casacore::Int  spectralWindow,
double  bottomFrequency,
double  topFrequency 
)
const_iterator casa::vi::FrequencySelectionUsingFrame::begin ( ) const

void add (casacore::Int spectralWindow, double bottomFrequency, double topFrequency, double increment);

FrequencySelection* casa::vi::FrequencySelectionUsingFrame::clone ( ) const
virtual
casacore::Bool casa::vi::FrequencySelectionUsingFrame::empty ( ) const
virtual
const_iterator casa::vi::FrequencySelectionUsingFrame::end ( ) const
std::map<int, std::pair<int, int> > casa::vi::FrequencySelectionUsingFrame::getChannelRange ( const casacore::MeasurementSet ms) const

This will return a map where the key is the spw and the pair is the pair (nchan, start) for that spw.

set<int> casa::vi::FrequencySelectionUsingFrame::getSelectedWindows ( ) const
virtual
casacore::String casa::vi::FrequencySelectionUsingFrame::toString ( ) const
virtual

Member Data Documentation

Elements casa::vi::FrequencySelectionUsingFrame::elements_p
private

Definition at line 167 of file ViFrequencySelection.h.

Elements casa::vi::FrequencySelectionUsingFrame::filtered_p
mutableprivate

Definition at line 168 of file ViFrequencySelection.h.


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