casa  $Rev:20696$
Public Member Functions | Private Attributes | Static Private Attributes
casa::MSPlotConvertAveChanToFreq Class Reference

#include <MsPlotConvert.h>

Inheritance diagram for casa::MSPlotConvertAveChanToFreq:
casa::TPConvertBase

List of all members.

Public Member Functions

 MSPlotConvertAveChanToFreq (MeasurementSet &inMS, Matrix< Double > &chanFreq, Bool onXAxis)
 It would be ideal to calculate the chanFreq in the averager and pass the map to here.
 ~MSPlotConvertAveChanToFreq ()
Double Xconvert_col (Double x, Int IfLOG0(row), Int IfLOG0(tableId))
 Conversion along the Xaxis.
Double Yconvert_col (Double y, Int IfLOG0(row), Int IfLOG0(tableId))
 Conversion along the Yaxis.

Private Attributes

MeasurementSet itsMS
 not used.
Matrix< DoubleitsChanFreq
 itsChanFreq is of nAveChan x 2.
Bool convertOnX
 Indicate if we are averaging on the X or Y axis.
SLoglog

Static Private Attributes

static const String clname

Detailed Description

Definition at line 1715 of file MsPlotConvert.h.


Constructor & Destructor Documentation

casa::MSPlotConvertAveChanToFreq::MSPlotConvertAveChanToFreq ( MeasurementSet inMS,
Matrix< Double > &  chanFreq,
Bool  onXAxis 
) [inline]

It would be ideal to calculate the chanFreq in the averager and pass the map to here.

However, in the setupPlotxy, setConverFn is before setInputTable (because a conversion function change may require a reread of the ms), then we have to reset conversion function after averager

cout << "itsChanFreq=" << itsChanFreq << endl;

Definition at line 1724 of file MsPlotConvert.h.

References convertOnX, itsChanFreq, itsMS, log, and casa::SLog::slog().

casa::MSPlotConvertAveChanToFreq::~MSPlotConvertAveChanToFreq ( ) [inline]

String fnname = "~MSPlotConvertAveChanToFreq";

Definition at line 1738 of file MsPlotConvert.h.


Member Function Documentation

Double casa::MSPlotConvertAveChanToFreq::Xconvert_col ( Double  x,
Int   IfLOG0row,
Int   IfLOG0tableId 
) [inline]
Double casa::MSPlotConvertAveChanToFreq::Yconvert_col ( Double  y,
Int   IfLOG0row,
Int   IfLOG0tableId 
) [inline]

Member Data Documentation

Definition at line 1806 of file MsPlotConvert.h.

Referenced by Xconvert_col(), and Yconvert_col().

Indicate if we are averaging on the X or Y axis.

Definition at line 1803 of file MsPlotConvert.h.

Referenced by MSPlotConvertAveChanToFreq(), Xconvert_col(), and Yconvert_col().

itsChanFreq is of nAveChan x 2.

The first column stores the averaged channel Id (hence is equal to the position index.) The second column store averaged frequencies corresponding to the averaged channel Id. The first column can be used to store the spwids in the future.

Definition at line 1800 of file MsPlotConvert.h.

Referenced by MSPlotConvertAveChanToFreq(), Xconvert_col(), and Yconvert_col().

not used.

the frequency calculation is done in the averager.

Definition at line 1788 of file MsPlotConvert.h.

Referenced by MSPlotConvertAveChanToFreq().

Definition at line 1805 of file MsPlotConvert.h.

Referenced by MSPlotConvertAveChanToFreq(), Xconvert_col(), and Yconvert_col().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines