Contains information about a set of bands.
More...
#include <multibanddata.h>
Contains information about a set of bands.
This follows the CASA Measurement Set model; one MultiBandData instance can contain the band information contained in the CASA Measurement Set.
MultiBandData::MultiBandData |
( |
casacore::MSSpectralWindow & |
spwTable, |
|
|
casacore::MSDataDescription & |
dataDescTable |
|
) |
| |
|
inline |
Construct a MultiBandData from the Measurement Set tables.
- Parameters
-
spwTable | The spectral window table of a measurement set. |
dataDescTable | The data description table of a measurement set. |
MultiBandData::MultiBandData |
( |
const MultiBandData & |
source, |
|
|
size_t |
startChannel, |
|
|
size_t |
endChannel |
|
) |
| |
|
inline |
Construct a MultiBandData from another instance but only select a part of each band data.
- Parameters
-
source | Other instance that will be partially copied. |
startChannel | Start of channel range to initialize this instance with. |
endChannel | End of channel range (exclusive) to initialize this instance with. |
size_t MultiBandData::BandCount |
( |
| ) |
const |
|
inline |
Get number of bands stored.
- Returns
- Number of bands.
double MultiBandData::BandEnd |
( |
| ) |
const |
|
inline |
Get the end frequency of the highest frequency channel.
- Returns
- End of covered bandwidth.
double MultiBandData::BandStart |
( |
| ) |
const |
|
inline |
Get the start frequency of the lowest frequency channel.
- Returns
- Start of covered bandwidth.
double MultiBandData::Bandwidth |
( |
| ) |
const |
|
inline |
double MultiBandData::CentreFrequency |
( |
| ) |
const |
|
inline |
size_t MultiBandData::DataDescCount |
( |
| ) |
const |
|
inline |
Returns the unique number of data description IDs.
- Returns
- Unique number of data desc IDs.
const BandData& MultiBandData::FirstBand |
( |
| ) |
const |
|
inline |
Retrieve the first band.
- Returns
- The first band.
double MultiBandData::HighestFrequency |
( |
| ) |
const |
|
inline |
Get highest frequency.
- Returns
- The channel frequency of the channel with highest frequency.
double MultiBandData::LowestFrequency |
( |
| ) |
const |
|
inline |
Get lowest frequency.
- Returns
- The channel frequency of the channel with lowest frequency.
size_t MultiBandData::MaxChannels |
( |
| ) |
const |
|
inline |
Get the maximum number of channels in a band.
- Returns
- Maximum number of channels.
const BandData& MultiBandData::operator[] |
( |
size_t |
dataDescID | ) |
const |
|
inline |
Index operator to retrieve a band data given a dataDescID.
- Parameters
-
dataDescID | A valid data description ID for which the band is returned. |
- Returns
- The BandData for the requested band.
The documentation for this class was generated from the following file: