#include <FreqAxisTVI.h>
  
 Public Member Functions | |
| FreqAxisTVI (ViImplementation2 *inputVii, const Record &configuration) | |
| Lifecycle.   | |
| ~FreqAxisTVI () | |
| virtual void | origin () | 
| Navigation methods.   | |
| virtual void | next () | 
| Bool | existsColumn (VisBufferComponent2 id) const | 
| General TVI info (common for all sub-classes).   | |
| Bool | flagCategoryExists () const | 
| Determine whether FLAG_CATEGORY is valid.   | |
| void | writeFlagRow (const Vector< Bool > &flag) | 
| List of methods that should be implemented by derived classes virtual void flag(Cube<Bool>& flagCube) const = 0; virtual void floatData (Cube<Float> & vis) const = 0; virtual void visibilityObserved (Cube<Complex> & vis) const = 0; virtual void visibilityCorrected (Cube<Complex> & vis) const = 0; virtual void visibilityModel (Cube<Complex> & vis) const = 0; virtual void weightSpectrum(Cube<Float> &weightSp) const = 0; virtual void sigmaSpectrum (Cube<Float> &sigmaSp) const = 0; virtual Vector<Double> getFrequencies ( Double time, Int frameOfReference,Int spectralWindowId, Int msId) const = 0; virtual void writeFlag (const Cube<Bool> & flagCube) = 0;.   | |
| Vector< Int > | getChannels (Double time, Int frameOfReference, Int spectralWindowId, Int msId) const | 
| void | flagRow (Vector< Bool > &flagRow) const | 
| Return row flag.   | |
| void | weight (Matrix< Float > &weight) const | 
| Return weight.   | |
| void | sigma (Matrix< Float > &sigma) const | 
| Return sigma.   | |
Protected Member Functions | |
| template<class T > | |
| void | transformFreqAxis (Cube< T > const &inputDataCube, Cube< T > &outputDataCube, FreqAxisTransformEngine< T > &transformer) const | 
| Method implementing main loop (with auxiliary data).   | |
| template<class T > | |
| void | transformFreqAxis2 (const IPosition &inputShape, FreqAxisTransformEngine2< T > &transformer, Int parallelCorrAxis=-1) const | 
| Method implementing main loop (with auxiliary data).   | |
| Bool | parseConfiguration (const Record &configuration) | 
| void | initialize () | 
| void | formSelectedChanMap () | 
| Form spwInpChanIdxMap_p via calls to underlying Vii.   | |
Protected Attributes | |
| String | spwSelection_p | 
| LogIO | logger_p | 
| map< Int, uInt > | spwOutChanNumMap_p | 
| map< Int, vector< Int > > | spwInpChanIdxMap_p | 
Definition at line 53 of file FreqAxisTVI.h.
| casa::vi::FreqAxisTVI::FreqAxisTVI | ( | ViImplementation2 * | inputVii, | |
| const Record & | configuration | |||
| ) | 
Lifecycle.
| casa::vi::FreqAxisTVI::~FreqAxisTVI | ( | ) | 
| Bool casa::vi::FreqAxisTVI::existsColumn | ( | VisBufferComponent2 | id | ) |  const [virtual] | 
        
General TVI info (common for all sub-classes).
Reimplemented from casa::vi::TransformingVi2.
| Bool casa::vi::FreqAxisTVI::flagCategoryExists | ( | ) |  const [inline, virtual] | 
        
Determine whether FLAG_CATEGORY is valid.
Reimplemented from casa::vi::TransformingVi2.
Definition at line 68 of file FreqAxisTVI.h.
References casacore::False.
| void casa::vi::FreqAxisTVI::flagRow | ( | Vector< Bool > & | rowflags | ) |  const [virtual] | 
        
Return row flag.
Reimplemented from casa::vi::TransformingVi2.
| void casa::vi::FreqAxisTVI::formSelectedChanMap | ( | ) |  [protected] | 
        
Form spwInpChanIdxMap_p via calls to underlying Vii.
| Vector<Int> casa::vi::FreqAxisTVI::getChannels | ( | Double | time, | |
| Int | frameOfReference, | |||
| Int | spectralWindowId, | |||
| Int | msId | |||
| ) |  const [virtual] | 
        
Reimplemented from casa::vi::TransformingVi2.
| void casa::vi::FreqAxisTVI::initialize | ( | ) |  [protected] | 
        
| virtual void casa::vi::FreqAxisTVI::next | ( | ) |  [virtual] | 
        
Reimplemented from casa::vi::TransformingVi2.
| virtual void casa::vi::FreqAxisTVI::origin | ( | ) |  [virtual] | 
        
Navigation methods.
Reimplemented from casa::vi::TransformingVi2.
Reimplemented in casa::vi::RegriddingTVI.
| Bool casa::vi::FreqAxisTVI::parseConfiguration | ( | const Record & | configuration | ) |  [protected] | 
        
| void casa::vi::FreqAxisTVI::sigma | ( | Matrix< Float > & | sigmat | ) |  const [virtual] | 
        
Return sigma.
Reimplemented from casa::vi::TransformingVi2.
| void casa::vi::FreqAxisTVI::transformFreqAxis | ( | Cube< T > const & | inputDataCube, | |
| Cube< T > & | outputDataCube, | |||
| FreqAxisTransformEngine< T > & | transformer | |||
| ) |  const [inline, protected] | 
        
Method implementing main loop (with auxiliary data).
Re-shape output data cube
Get data shape for iteration
Initialize input-output planes
Initialize input-output vectors
Assign input-output planes by reference
Assign input-output vectors by reference
Transform data
Definition at line 92 of file FreqAxisTVI.h.
References casacore::False, casa::vi::TransformingVi2::getVisBufferConst(), casa::vi::TransformingVi2::nRows(), casa::vi::FreqAxisTransformEngine::setCorrIndex(), casa::vi::FreqAxisTransformEngine::setRowIndex(), and casa::vi::FreqAxisTransformEngine::transform().
| void casa::vi::FreqAxisTVI::transformFreqAxis2 | ( | const IPosition & | inputShape, | |
| FreqAxisTransformEngine2< T > & | transformer, | |||
| Int |  parallelCorrAxis = -1 | |||
| ) |  const [inline, protected] | 
        
Method implementing main loop (with auxiliary data).
jagonzal: Debug code
Definition at line 135 of file FreqAxisTVI.h.
References casacore::False, casa::vi::TransformingVi2::getVii(), casa::vi::ViImplementation2::getVisBuffer(), casa::vi::TransformingVi2::nRows(), casa::vi::VisBuffer2::rowIds(), casa::vi::FreqAxisTransformEngine2::setCorrIndex(), casa::vi::FreqAxisTransformEngine2::setDebug(), casa::vi::FreqAxisTransformEngine2::setRowIndex(), casa::vi::FreqAxisTransformEngine2::transform(), and casacore::True.
| void casa::vi::FreqAxisTVI::weight | ( | Matrix< Float > & | wtmat | ) |  const [virtual] | 
        
Return weight.
Reimplemented from casa::vi::TransformingVi2.
| void casa::vi::FreqAxisTVI::writeFlagRow | ( | const Vector< Bool > & | flag | ) |  [virtual] | 
        
List of methods that should be implemented by derived classes virtual void flag(Cube<Bool>& flagCube) const = 0; virtual void floatData (Cube<Float> & vis) const = 0; virtual void visibilityObserved (Cube<Complex> & vis) const = 0; virtual void visibilityCorrected (Cube<Complex> & vis) const = 0; virtual void visibilityModel (Cube<Complex> & vis) const = 0; virtual void weightSpectrum(Cube<Float> &weightSp) const = 0; virtual void sigmaSpectrum (Cube<Float> &sigmaSp) const = 0; virtual Vector<Double> getFrequencies ( Double time, Int frameOfReference,Int spectralWindowId, Int msId) const = 0; virtual void writeFlag (const Cube<Bool> & flagCube) = 0;.
Common transformation for all sub-classes
Reimplemented from casa::vi::TransformingVi2.
LogIO casa::vi::FreqAxisTVI::logger_p [mutable, protected] | 
        
Definition at line 186 of file FreqAxisTVI.h.
map<Int,vector<Int> > casa::vi::FreqAxisTVI::spwInpChanIdxMap_p [mutable, protected] | 
        
Definition at line 188 of file FreqAxisTVI.h.
map<Int,uInt > casa::vi::FreqAxisTVI::spwOutChanNumMap_p [mutable, protected] | 
        
Definition at line 187 of file FreqAxisTVI.h.
String casa::vi::FreqAxisTVI::spwSelection_p [protected] | 
        
Definition at line 185 of file FreqAxisTVI.h.
 1.6.1