casa
$Rev:20696$
|
#include <PlotCalHooks.h>
Public Member Functions | |
PlotCalParang (Vector< Vector< Int > > &fldlists) | |
~PlotCalParang () | |
Double | Xconvert (Double x, Int row, Int tblNum) |
Notes on these convert functions. | |
Private Attributes | |
Vector< Vector< Int > > | fldLists |
Definition at line 230 of file PlotCalHooks.h.
Set up MSDerivedValues to do calc
Definition at line 233 of file PlotCalHooks.h.
References fldLists.
casa::PlotCalParang::~PlotCalParang | ( | ) | [inline] |
Definition at line 237 of file PlotCalHooks.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
cout << "PCP::Xconvert: " << tblNum << " " << row << " " << x << fldLists(tblNum)(row) << endl;
Reimplemented from casa::TPConvertBase.
Definition at line 238 of file PlotCalHooks.h.
Vector<Vector<Int> > casa::PlotCalParang::fldLists [private] |
Definition at line 248 of file PlotCalHooks.h.
Referenced by PlotCalParang().