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

Derived Class for conversion functions for TIME FORMATTING This can also be done via a TaQL... More...

#include <TPCallBackHooks.h>

Inheritance diagram for casa::TPConvertTimeX:
casa::TPConvertBase

List of all members.

Public Member Functions

 TPConvertTimeX ()
 ~TPConvertTimeX ()
Double Xconvert (Double x, Int, Int)
 Notes on these convert functions.

Detailed Description

Derived Class for conversion functions for TIME FORMATTING This can also be done via a TaQL...

which is best..\.

TRY NOT TO USE CONVERSION FUNCTIONS for TIME

Definition at line 298 of file TPCallBackHooks.h.


Constructor & Destructor Documentation

casa::TPConvertTimeX::TPConvertTimeX ( ) [inline]

Definition at line 301 of file TPCallBackHooks.h.

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

Definition at line 302 of file TPCallBackHooks.h.


Member Function Documentation

Double casa::TPConvertTimeX::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 from casa::TPConvertBase.

Definition at line 304 of file TPCallBackHooks.h.

References MJDZERO, and NSECINYEAR.


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