casa
$Rev:20696$
|
This class is provided to TablePlot to allow MsPlot to do the proper thing when button's are pressed on the plotting GUI. More...
#include <MsPlotHooks.h>
Public Member Functions | |
MSPlotMainMSCallBack (MeasurementSet *inMS, Vector< String > antNames, Vector< String > fieldNames, Vector< Vector< String > >corrNames, Vector< Double > refFrequencies, String msname, String extendChn, String extendCor, String extendSp, String extendAnts, String extendTm, Bool crossbl, Double avetime, MeasurementSet *aMS) | |
~MSPlotMainMSCallBack () | |
casa::Bool | releasetable (Int, Int, Int, String) |
During the standard TP clearPlot, this function is called immediately after each BasePlot destructor. | |
casa::Bool | createiterplotlabels (Vector< String > iteraxes, Vector< Double > values, String &titleString) |
A function to allow the creation of customized labels for iteration plot panels. | |
Public Attributes | |
return | selected |
cout << "Baseline selected=" << selected << endl; |
This class is provided to TablePlot to allow MsPlot to do the proper thing when button's are pressed on the plotting GUI.
Internal
Callbacks from TablePlot to MsPlot that are executed when buttons are pressed on the plotting GUI, and the data that has been plotted resides in the main table of the Measurement Set.
To provide a way for the TablePlot object to inform the MsPlot object that a particular button has been pressed on the plotting GUI and to allow MS Plot to over ride the default TablePlot behaviour if necessary.
Definition at line 232 of file MsPlotHooks.h.
casa::MSPlotMainMSCallBack::MSPlotMainMSCallBack | ( | MeasurementSet * | inMS, |
Vector< String > | antNames, | ||
Vector< String > | fieldNames, | ||
Vector< Vector< String > > | corrNames, | ||
Vector< Double > | refFrequencies, | ||
String | msname, | ||
String | extendChn, | ||
String | extendCor, | ||
String | extendSp, | ||
String | extendAnts, | ||
String | extendTm, | ||
Bool | crossbl, | ||
Double | avetime, | ||
MeasurementSet * | aMS | ||
) | [inline] |
itsBaselines = baselines;
cout << "itsBaseLines=" << itsBaselines << endl;
fieldNames | Matrix<Int> baselines, |
Definition at line 235 of file MsPlotHooks.h.
References aveBl, aveMS, aveTime, clname, extendAnt, extendChan, extendCorr, extendSpw, extendTime, flagms, itsAntNames, itsCorrNames, itsFieldNames, itsRefFrequencies, localMS, casa::TPGuiCallBackHooks::LocateColumns, casa::log(), casa::Vector< T >::resize(), and casa::SLog::slog().
casa::MSPlotMainMSCallBack::~MSPlotMainMSCallBack | ( | ) | [inline] |
Definition at line 287 of file MsPlotHooks.h.
References clname, and casa::log().
casa::Bool casa::MSPlotMainMSCallBack::createiterplotlabels | ( | Vector< String > | iteraxes, |
Vector< Double > | values, | ||
String & | titlestring | ||
) | [inline, virtual] |
A function to allow the creation of customized labels for iteration plot panels.
Called from TablePlot::iterMultiPlotNext.
cout << " values=" << values << endl; for (uInt i = 0; i < itsAntNames.nelements(); i++) cout << itsAntNames[i] << " " ; cout << endl;
cout << "main call back createiterplotlabels" << endl;
cout << "iteraxes[axesId]=" << iteraxes[axesId] << endl;
cout << "titleString=" << titleString << endl;
Reimplemented from casa::TPGuiCallBackHooks.
Definition at line 313 of file MsPlotHooks.h.
References clname, casa::utilj::contains(), casa::LogMessage::DEBUG1, itsAntNames, itsFieldNames, casa::log(), casa::ArrayBase::nelements(), String, casa::vpf::toString(), casa::upcase(), and casa::LogMessage::WARN.
casa::Bool casa::MSPlotMainMSCallBack::releasetable | ( | Int | , |
Int | , | ||
Int | , | ||
String | |||
) | [inline, virtual] |
During the standard TP clearPlot, this function is called immediately after each BasePlot destructor.
Called from TablePlot::deleteBasePlot.
Reimplemented from casa::TPGuiCallBackHooks.
Definition at line 297 of file MsPlotHooks.h.
References clname, casa::log(), and casa::True.
cout << "Baseline selected=" << selected << endl;
Definition at line 409 of file MsPlotHooks.h.