casa  $Rev:20696$
Public Member Functions
casa::TPConvertBase Class Reference

Base class for computing derived quantities that cannot be computed directly via TaQL. More...

#include <TPCallBackHooks.h>

Inheritance diagram for casa::TPConvertBase:
casa::MSPlotConvertArrayPositions casa::MSPlotConvertAveChanToChan casa::MSPlotConvertAveChanToFreq casa::MSPlotConvertAzimuth casa::MSPlotConvertChanToFreq casa::MSPlotConvertChanToVelocity casa::MSPlotConvertElevation casa::MSPlotConvertHourangle casa::MSPlotConvertParallacticangle casa::PlotCalParang casa::TPConvertChanToFreq casa::TPConvertTimeX casa::TPConvertTimeXY casa::TPConvertTimeY

List of all members.

Public Member Functions

 TPConvertBase ()
virtual ~TPConvertBase ()
virtual Double Xconvert (Double x, Int, Int)
 Notes on these convert functions.
virtual Double Xconvert_row (Double x, Int, Int)
virtual Double Xconvert_col (Double x, Int, Int)
virtual Double Yconvert (Double y, Int, Int)
 Y-axis convert methods.
virtual Double Yconvert_row (Double y, Int, Int)
virtual Double Yconvert_col (Double y, Int, Int)

Detailed Description

Base class for computing derived quantities that cannot be computed directly via TaQL.

Definition at line 70 of file TPCallBackHooks.h.


Constructor & Destructor Documentation

casa::TPConvertBase::TPConvertBase ( ) [inline]

Definition at line 73 of file TPCallBackHooks.h.

virtual casa::TPConvertBase::~TPConvertBase ( ) [inline, virtual]

Definition at line 74 of file TPCallBackHooks.h.


Member Function Documentation

virtual Double casa::TPConvertBase::Xconvert ( Double  x,
Int  ,
Int   
) [inline, virtual]

Notes on these convert functions.

1. For BasePlot only the XConvert and YConvert methods are used but for CROSS plots the _row and _col methods are used. Why? BasePlots you all values in a cell. no distinction, however CROSS plots only plot one of the row or column indexes on the data itself, so we really only need one Convert method. Also its important for the caller to know if they have a row or column index.

2. the _row convert method values are the row indexes for the data array found in the table cell. This is typically related to the polarization information in the DATA column Similarily _col convert methodes pass the col indicies through the value parameter and are typically associated with channels in DATA columns.

3. Don't forget about ColumnsXaxis Panel parameter it controls whether row or column indeces are used for plotting in CROSS plots, this means that only one of the _row and _col methods will be used/need to be defined and not both.

4. tblRow is the row number where the data resides in the Table tblNum is the index when a list of Tables was supplied to TablePlot::setTable(T/S)

X-axis convert methods

Reimplemented in casa::MSPlotConvertArrayPositions, casa::MSPlotConvertParallacticangle, casa::MSPlotConvertHourangle, casa::MSPlotConvertElevation, casa::TPConvertTimeX, casa::PlotCalParang, and casa::MSPlotConvertAzimuth.

Definition at line 103 of file TPCallBackHooks.h.

virtual Double casa::TPConvertBase::Xconvert_col ( Double  x,
Int   ,
Int   
) [inline, virtual]
virtual Double casa::TPConvertBase::Xconvert_row ( Double  x,
Int  ,
Int   
) [inline, virtual]

Reimplemented in casa::TPConvertTimeXY.

Definition at line 106 of file TPCallBackHooks.h.

virtual Double casa::TPConvertBase::Yconvert ( Double  y,
Int  ,
Int   
) [inline, virtual]
virtual Double casa::TPConvertBase::Yconvert_col ( Double  y,
Int   ,
Int   
) [inline, virtual]
virtual Double casa::TPConvertBase::Yconvert_row ( Double  y,
Int  ,
Int   
) [inline, virtual]

Definition at line 116 of file TPCallBackHooks.h.


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