#include <FlagAgentDisplay.h>
Public Member Functions | |
| FlagAgentDisplay (FlagDataHandler *dh, Record config, Bool writePrivateFlagCube=false) | |
| ~FlagAgentDisplay () | |
| Bool | displayReports (FlagReport &combinedReport) |
| Make plots and either display or write to a file. | |
| FlagReport | getReport () |
| Get a report/summary. | |
Protected Member Functions | |
| bool | computeAntennaPairFlags (const vi::VisBuffer2 &visBuffer, VisMapper &visibilities, FlagMapper &flag, Int antenna1, Int antenna2, vector< uInt > &rows) |
| Compute flags for a given (time,freq) map. | |
| void | preProcessBuffer (const vi::VisBuffer2 &visBuffer) |
| Common functionality for each visBuffer (don't repeat at the row level). | |
| void | iterateAntennaPairsInteractive (antennaPairMap *antennaPairMap_ptr) |
| Choose how to step through the baselines in the current chunk. | |
| void | setAgentParameters (Record config) |
| Parse configuration parameters. | |
Private Member Functions | |
| Bool | setDataLayout () |
| Bool | setReportLayout () |
| Bool | buildDataPlotWindow () |
| Bool | buildReportPlotWindow () |
| void | getChunkInfo (const vi::VisBuffer2 &visBuffer) |
| Bool | skipBaseline (std::pair< Int, Int > antennaPair) |
| void | getUserInput () |
| void | getReportUserInput () |
| void | DisplayRaster (Int xdim, Int ydim, Vector< Float > &data, uInt frame) |
| void | DisplayLine (Int xdim, Vector< Double > &xdata, Vector< Float > &ydata, String label, String color, Bool hold, uInt frame) |
| void | DisplayScatter (Int xdim, Vector< Double > &xdata, Vector< Float > &ydata, String label, String color, Bool hold, uInt frame) |
| void | DisplayLineScatterError (FlagPlotServerProxy *&plotter, String &plottype, Vector< Float > &xdata, Vector< Float > &ydata, String &errortype, Vector< Float > &error, String label, String color, uInt frame) |
Private Attributes | |
| FlagPlotServerProxy * | dataplotter_p |
| Plotter members. | |
| FlagPlotServerProxy * | reportplotter_p |
| String | userChoice_p |
| GUI parameters. | |
| String | userFixA1_p |
| String | userFixA2_p |
| Int | skipScan_p |
| Int | skipSpw_p |
| Int | skipField_p |
| Bool | pause_p |
| Control parameters. | |
| Int | fieldId_p |
| visBuffer state variables | |
| String | fieldName_p |
| Int | scanStart_p |
| Int | scanEnd_p |
| Int | spwId_p |
| uInt | nPolarizations_p |
| Vector< Double > | freqList_p |
| String | antenna1_p |
| String | antenna2_p |
| Bool | dataDisplay_p |
| Bool | reportDisplay_p |
| String | reportFormat_p |
| Bool | stopAndExit_p |
| Bool | reportReturn_p |
| Bool | showBandpass_p |
| Vector< dbus::variant > | panels_p |
| Vector< dbus::variant > | report_panels_p |
| const char * | dock_xml_p |
| const char * | report_dock_xml_p |
| Vector< String > | plotColours_p |
| Bool showBandpass_p;. | |
Definition at line 40 of file FlagAgentDisplay.h.
| casa::FlagAgentDisplay::FlagAgentDisplay | ( | FlagDataHandler * | dh, | |
| Record | config, | |||
| Bool | writePrivateFlagCube = false | |||
| ) |
| casa::FlagAgentDisplay::~FlagAgentDisplay | ( | ) |
| Bool casa::FlagAgentDisplay::buildDataPlotWindow | ( | ) | [private] |
| Bool casa::FlagAgentDisplay::buildReportPlotWindow | ( | ) | [private] |
| bool casa::FlagAgentDisplay::computeAntennaPairFlags | ( | const vi::VisBuffer2 & | visBuffer, | |
| VisMapper & | visibilities, | |||
| FlagMapper & | flag, | |||
| Int | antenna1, | |||
| Int | antenna2, | |||
| vector< uInt > & | rows | |||
| ) | [protected, virtual] |
Compute flags for a given (time,freq) map.
Reimplemented from casa::FlagAgentBase.
| void casa::FlagAgentDisplay::DisplayLine | ( | Int | xdim, | |
| Vector< Double > & | xdata, | |||
| Vector< Float > & | ydata, | |||
| String | label, | |||
| String | color, | |||
| Bool | hold, | |||
| uInt | frame | |||
| ) | [private] |
| void casa::FlagAgentDisplay::DisplayLineScatterError | ( | FlagPlotServerProxy *& | plotter, | |
| String & | plottype, | |||
| Vector< Float > & | xdata, | |||
| Vector< Float > & | ydata, | |||
| String & | errortype, | |||
| Vector< Float > & | error, | |||
| String | label, | |||
| String | color, | |||
| uInt | frame | |||
| ) | [private] |
| void casa::FlagAgentDisplay::DisplayRaster | ( | Int | xdim, | |
| Int | ydim, | |||
| Vector< Float > & | data, | |||
| uInt | frame | |||
| ) | [private] |
| Bool casa::FlagAgentDisplay::displayReports | ( | FlagReport & | combinedReport | ) |
| void casa::FlagAgentDisplay::DisplayScatter | ( | Int | xdim, | |
| Vector< Double > & | xdata, | |||
| Vector< Float > & | ydata, | |||
| String | label, | |||
| String | color, | |||
| Bool | hold, | |||
| uInt | frame | |||
| ) | [private] |
| void casa::FlagAgentDisplay::getChunkInfo | ( | const vi::VisBuffer2 & | visBuffer | ) | [private] |
| FlagReport casa::FlagAgentDisplay::getReport | ( | ) | [virtual] |
Get a report/summary.
Reimplemented from casa::FlagAgentBase.
| void casa::FlagAgentDisplay::getReportUserInput | ( | ) | [private] |
| void casa::FlagAgentDisplay::getUserInput | ( | ) | [private] |
| void casa::FlagAgentDisplay::iterateAntennaPairsInteractive | ( | antennaPairMap * | antennaPairMap_ptr | ) | [protected, virtual] |
Choose how to step through the baselines in the current chunk.
Reimplemented from casa::FlagAgentBase.
| void casa::FlagAgentDisplay::preProcessBuffer | ( | const vi::VisBuffer2 & | visBuffer | ) | [protected, virtual] |
Common functionality for each visBuffer (don't repeat at the row level).
Reimplemented from casa::FlagAgentBase.
| void casa::FlagAgentDisplay::setAgentParameters | ( | Record | config | ) | [protected, virtual] |
Parse configuration parameters.
Reimplemented from casa::FlagAgentBase.
| Bool casa::FlagAgentDisplay::setDataLayout | ( | ) | [private] |
| Bool casa::FlagAgentDisplay::setReportLayout | ( | ) | [private] |
| Bool casa::FlagAgentDisplay::skipBaseline | ( | std::pair< Int, Int > | antennaPair | ) | [private] |
String casa::FlagAgentDisplay::antenna1_p [private] |
Definition at line 106 of file FlagAgentDisplay.h.
String casa::FlagAgentDisplay::antenna2_p [private] |
Definition at line 107 of file FlagAgentDisplay.h.
Bool casa::FlagAgentDisplay::dataDisplay_p [private] |
Definition at line 109 of file FlagAgentDisplay.h.
Plotter members.
Definition at line 86 of file FlagAgentDisplay.h.
const char* casa::FlagAgentDisplay::dock_xml_p [private] |
Definition at line 116 of file FlagAgentDisplay.h.
Int casa::FlagAgentDisplay::fieldId_p [private] |
visBuffer state variables
Definition at line 99 of file FlagAgentDisplay.h.
String casa::FlagAgentDisplay::fieldName_p [private] |
Definition at line 100 of file FlagAgentDisplay.h.
Vector<Double> casa::FlagAgentDisplay::freqList_p [private] |
Definition at line 105 of file FlagAgentDisplay.h.
uInt casa::FlagAgentDisplay::nPolarizations_p [private] |
Definition at line 104 of file FlagAgentDisplay.h.
Vector<dbus::variant> casa::FlagAgentDisplay::panels_p [private] |
Definition at line 115 of file FlagAgentDisplay.h.
Bool casa::FlagAgentDisplay::pause_p [private] |
Control parameters.
Definition at line 96 of file FlagAgentDisplay.h.
Vector<String> casa::FlagAgentDisplay::plotColours_p [private] |
Bool showBandpass_p;.
Control parameters Bool stopAndExit_p; Bool pause_p; Bool dataDisplay_p, reportDisplay_p; // show per chunk plots and/or end-of-MS plots Bool reportReturn_p; String reportFormat_p;
visBuffer state variables Int fieldId_p; String fieldName_p; Int scanStart_p; Int scanEnd_p; Int spwId_p; String antenna1_p; String antenna2_p;
uInt nPolarizations_p; Vector<Double> freqList_p;
GUI parameters String userChoice_p; String userFixA1_p, userFixA2_p;
Int skipScan_p, skipSpw_p, skipField_p;
Definition at line 144 of file FlagAgentDisplay.h.
const char * casa::FlagAgentDisplay::report_dock_xml_p [private] |
Definition at line 116 of file FlagAgentDisplay.h.
Vector<dbus::variant> casa::FlagAgentDisplay::report_panels_p [private] |
Definition at line 115 of file FlagAgentDisplay.h.
Bool casa::FlagAgentDisplay::reportDisplay_p [private] |
Definition at line 109 of file FlagAgentDisplay.h.
String casa::FlagAgentDisplay::reportFormat_p [private] |
Definition at line 110 of file FlagAgentDisplay.h.
Definition at line 87 of file FlagAgentDisplay.h.
Bool casa::FlagAgentDisplay::reportReturn_p [private] |
Definition at line 112 of file FlagAgentDisplay.h.
Int casa::FlagAgentDisplay::scanEnd_p [private] |
Definition at line 102 of file FlagAgentDisplay.h.
Int casa::FlagAgentDisplay::scanStart_p [private] |
Definition at line 101 of file FlagAgentDisplay.h.
Bool casa::FlagAgentDisplay::showBandpass_p [private] |
Definition at line 113 of file FlagAgentDisplay.h.
Int casa::FlagAgentDisplay::skipField_p [private] |
Definition at line 93 of file FlagAgentDisplay.h.
Int casa::FlagAgentDisplay::skipScan_p [private] |
Definition at line 93 of file FlagAgentDisplay.h.
Int casa::FlagAgentDisplay::skipSpw_p [private] |
Definition at line 93 of file FlagAgentDisplay.h.
Int casa::FlagAgentDisplay::spwId_p [private] |
Definition at line 103 of file FlagAgentDisplay.h.
Bool casa::FlagAgentDisplay::stopAndExit_p [private] |
Definition at line 111 of file FlagAgentDisplay.h.
String casa::FlagAgentDisplay::userChoice_p [private] |
GUI parameters.
Definition at line 90 of file FlagAgentDisplay.h.
String casa::FlagAgentDisplay::userFixA1_p [private] |
Definition at line 91 of file FlagAgentDisplay.h.
String casa::FlagAgentDisplay::userFixA2_p [private] |
Definition at line 91 of file FlagAgentDisplay.h.
1.6.1