casa
$Rev:20696$
|
Base class for computing derived quantities that cannot be computed directly via TaQL. More...
#include <TPCallBackHooks.h>
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) |
Base class for computing derived quantities that cannot be computed directly via TaQL.
Definition at line 70 of file TPCallBackHooks.h.
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.
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.
Reimplemented in casa::MSPlotConvertChanToVelocity, casa::MSPlotConvertChanToFreq, casa::TPConvertChanToFreq, and casa::PlotCalFreqAxes.
Definition at line 109 of file TPCallBackHooks.h.
Reimplemented in casa::TPConvertTimeXY.
Definition at line 106 of file TPCallBackHooks.h.
Y-axis convert methods.
Reimplemented in casa::MSPlotConvertArrayPositions, casa::MSPlotConvertParallacticangle, casa::MSPlotConvertHourangle, casa::MSPlotConvertElevation, casa::TPConvertTimeY, and casa::MSPlotConvertAzimuth.
Definition at line 113 of file TPCallBackHooks.h.
Reimplemented in casa::MSPlotConvertChanToVelocity, casa::MSPlotConvertChanToFreq, and casa::TPConvertTimeXY.
Definition at line 119 of file TPCallBackHooks.h.
Definition at line 116 of file TPCallBackHooks.h.