#include <ChannelAverageTVI.h>
Public Member Functions | |
ChannelAverageTVI (ViImplementation2 *inputVii, const Record &configuration) | |
virtual String | ViiType () const |
Report the the ViImplementation type. | |
void | flag (Cube< Bool > &flagCube) const |
Return flag for each polarization, channel and row. | |
void | floatData (Cube< Float > &vis) const |
Return FLOAT_DATA as a Cube (npol, nchan, nrow) if found in the MS. | |
void | visibilityObserved (Cube< Complex > &vis) const |
void | visibilityCorrected (Cube< Complex > &vis) const |
Return the visibilities as found in the MS, Cube (npol,nchan,nrow). | |
void | visibilityModel (Cube< Complex > &vis) const |
void | weightSpectrum (Cube< Float > &weightSp) const |
Return weightspectrum (a weight for each channel). | |
void | sigmaSpectrum (Cube< Float > &sigmaSp) const |
Return sgimaspectrum (a sigma for each channel). | |
Bool | weightSpectrumExists () const |
Determine whether WEIGHT_SPECTRUM exists. | |
Bool | sigmaSpectrumExists () const |
Determine whether SIGMA_SPECTRUM exists. | |
Vector< Double > | getFrequencies (Double time, Int frameOfReference, Int spectralWindowId, Int msId) const |
void | writeFlag (const Cube< Bool > &flag) |
Write/modify the flags in the data. | |
Protected Member Functions | |
void | propagateChanAvgFlags (const Cube< Bool > &avgFlagCube, Cube< Bool > &expandedFlagCube) |
Bool | parseConfiguration (const Record &configuration) |
void | initialize () |
Protected Attributes | |
Vector< Int > | chanbin_p |
map< Int, uInt > | spwChanbinMap_p |
Definition at line 35 of file ChannelAverageTVI.h.
casa::vi::ChannelAverageTVI::ChannelAverageTVI | ( | ViImplementation2 * | inputVii, | |
const Record & | configuration | |||
) |
void casa::vi::ChannelAverageTVI::flag | ( | Cube< Bool > & | flags | ) | const [virtual] |
Return flag for each polarization, channel and row.
Reimplemented from casa::vi::TransformingVi2.
void casa::vi::ChannelAverageTVI::floatData | ( | Cube< Float > & | fcube | ) | const [virtual] |
Return FLOAT_DATA as a Cube (npol, nchan, nrow) if found in the MS.
Reimplemented from casa::vi::TransformingVi2.
Vector<Double> casa::vi::ChannelAverageTVI::getFrequencies | ( | Double | time, | |
Int | frameOfReference, | |||
Int | spectralWindowId, | |||
Int | msId | |||
) | const [virtual] |
Reimplemented from casa::vi::TransformingVi2.
void casa::vi::ChannelAverageTVI::initialize | ( | ) | [protected] |
Reimplemented from casa::vi::FreqAxisTVI.
Bool casa::vi::ChannelAverageTVI::parseConfiguration | ( | const Record & | configuration | ) | [protected] |
Reimplemented from casa::vi::FreqAxisTVI.
void casa::vi::ChannelAverageTVI::propagateChanAvgFlags | ( | const Cube< Bool > & | avgFlagCube, | |
Cube< Bool > & | expandedFlagCube | |||
) | [protected] |
void casa::vi::ChannelAverageTVI::sigmaSpectrum | ( | Cube< Float > & | wtsp | ) | const [virtual] |
Return sgimaspectrum (a sigma for each channel).
Reimplemented from casa::vi::TransformingVi2.
Bool casa::vi::ChannelAverageTVI::sigmaSpectrumExists | ( | ) | const [inline, virtual] |
Determine whether SIGMA_SPECTRUM exists.
Reimplemented from casa::vi::TransformingVi2.
Definition at line 58 of file ChannelAverageTVI.h.
References casacore::True.
virtual String casa::vi::ChannelAverageTVI::ViiType | ( | ) | const [inline, virtual] |
Report the the ViImplementation type.
Reimplemented from casa::vi::TransformingVi2.
Definition at line 46 of file ChannelAverageTVI.h.
References casa::vi::TransformingVi2::getVii(), String, and casa::vi::ViImplementation2::ViiType().
void casa::vi::ChannelAverageTVI::visibilityCorrected | ( | Cube< Complex > & | vis | ) | const [virtual] |
Return the visibilities as found in the MS, Cube (npol,nchan,nrow).
Reimplemented from casa::vi::TransformingVi2.
void casa::vi::ChannelAverageTVI::visibilityModel | ( | Cube< Complex > & | vis | ) | const [virtual] |
Reimplemented from casa::vi::TransformingVi2.
void casa::vi::ChannelAverageTVI::visibilityObserved | ( | Cube< Complex > & | vis | ) | const [virtual] |
Reimplemented from casa::vi::TransformingVi2.
void casa::vi::ChannelAverageTVI::weightSpectrum | ( | Cube< Float > & | wtsp | ) | const [virtual] |
Return weightspectrum (a weight for each channel).
Reimplemented from casa::vi::TransformingVi2.
Bool casa::vi::ChannelAverageTVI::weightSpectrumExists | ( | ) | const [inline, virtual] |
Determine whether WEIGHT_SPECTRUM exists.
Reimplemented from casa::vi::TransformingVi2.
Definition at line 57 of file ChannelAverageTVI.h.
References casacore::True.
void casa::vi::ChannelAverageTVI::writeFlag | ( | const Cube< Bool > & | flag | ) | [virtual] |
Write/modify the flags in the data.
This writes the flags as found in the MS, Cube (npol,nchan,nrow), where nrow is the number of rows in the current iteration (given by nRow ()).
Reimplemented from casa::vi::TransformingVi2.
Vector<Int> casa::vi::ChannelAverageTVI::chanbin_p [protected] |
Definition at line 71 of file ChannelAverageTVI.h.
map<Int,uInt > casa::vi::ChannelAverageTVI::spwChanbinMap_p [mutable, protected] |
Definition at line 72 of file ChannelAverageTVI.h.