casa
5.7.0-16
|
#include <VLAFrequencyFilter.h>
Public Member Functions | |
VLAFrequencyFilter () | |
The default constructor creates a filter that does not filter anything. More... | |
VLAFrequencyFilter (const casacore::MVFrequency ¢reFrequency, const casacore::MVFrequency &bandwidth) | |
Creates a filter that filters all records except those where any of the observed data are within the specified band. More... | |
VLAFrequencyFilter (const VLAFrequencyFilter &other) | |
The copy constructor uses copy semantics. More... | |
virtual | ~VLAFrequencyFilter () |
The destructor is trivial. More... | |
VLAFrequencyFilter & | operator= (const VLAFrequencyFilter &other) |
The assignment operator uses copy semantics. More... | |
void | refFrequency (const casacore::MVFrequency &refFrequency) |
set the reference frequency. More... | |
void | bandwidth (const casacore::MVFrequency &bandwidth) |
set the bandwidth. More... | |
virtual casacore::Bool | passThru (const VLALogicalRecord &record) const |
returns true if the supplied record contains any data that is between the specified start and end frequencies. More... | |
virtual VLAFilter * | clone () const |
Return a pointer to a copy of the VLAFrequencyFilter object upcast to a VLAFilter object. More... | |
virtual casacore::Bool | ok () const |
casacore::Function which checks the internal data of this class for correct dimensionality and consistant values. More... | |
Public Member Functions inherited from VLAFilter | |
virtual | ~VLAFilter () |
A virtual destructor is necessary to ensure that the destructor of derived classes is used. More... | |
Private Attributes | |
casacore::Double | itsTopEdge |
casacore::Double | itsBottomEdge |
Public interface
Note the start and stop frequencys are the values at the center if the integration.
Definition at line 90 of file VLAFrequencyFilter.h.
VLAFrequencyFilter::VLAFrequencyFilter | ( | ) |
The default constructor creates a filter that does not filter anything.
ie., the passThru() function always returns true;
VLAFrequencyFilter::VLAFrequencyFilter | ( | const casacore::MVFrequency & | centreFrequency, |
const casacore::MVFrequency & | bandwidth | ||
) |
Creates a filter that filters all records except those where any of the observed data are within the specified band.
The frequency frame is assumed to be topocentric.
VLAFrequencyFilter::VLAFrequencyFilter | ( | const VLAFrequencyFilter & | other | ) |
The copy constructor uses copy semantics.
|
virtual |
The destructor is trivial.
void VLAFrequencyFilter::bandwidth | ( | const casacore::MVFrequency & | bandwidth | ) |
set the bandwidth.
|
virtual |
Return a pointer to a copy of the VLAFrequencyFilter object upcast to a VLAFilter object.
The class that uses this function is responsible for deleting the pointer. This is used to implement a virtual copy constructor.
Implements VLAFilter.
|
virtual |
casacore::Function which checks the internal data of this class for correct dimensionality and consistant values.
Returns true if everything is fine otherwise returns false.
Reimplemented from VLAFilter.
VLAFrequencyFilter& VLAFrequencyFilter::operator= | ( | const VLAFrequencyFilter & | other | ) |
The assignment operator uses copy semantics.
|
virtual |
returns true if the supplied record contains any data that is between the specified start and end frequencies.
Implements VLAFilter.
void VLAFrequencyFilter::refFrequency | ( | const casacore::MVFrequency & | refFrequency | ) |
set the reference frequency.
|
private |
Definition at line 135 of file VLAFrequencyFilter.h.
|
private |
Definition at line 134 of file VLAFrequencyFilter.h.