casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
casa::FlagAgentDisplay Class Reference

#include <FlagAgentDisplay.h>

Inheritance diagram for casa::FlagAgentDisplay:
casa::FlagAgentBase casa::async::Thread

List of all members.

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

FlagPlotServerProxydataplotter_p
 Plotter members.
FlagPlotServerProxyreportplotter_p
Vector< dbus::variantpanels_p
Vector< dbus::variantreport_panels_p
char * dock_xml_p
char * report_dock_xml_p
Bool showBandpass_p
Bool stopAndExit_p
 Control parameters.
Bool pause_p
Bool dataDisplay_p
Bool reportDisplay_p
Bool reportReturn_p
String reportFormat_p
Int fieldId_p
 visBuffer state variables
String fieldName_p
Int scanStart_p
Int scanEnd_p
Int spwId_p
String antenna1_p
String antenna2_p
uInt nPolarizations_p
Vector< DoublefreqList_p
String userChoice_p
 GUI parameters.
String userFixA1_p
String userFixA2_p
Int skipScan_p
Int skipSpw_p
Int skipField_p
Vector< StringplotColours_p

Detailed Description

Definition at line 40 of file FlagAgentDisplay.h.


Constructor & Destructor Documentation

casa::FlagAgentDisplay::FlagAgentDisplay ( FlagDataHandler dh,
Record  config,
Bool  writePrivateFlagCube = false 
)

Member Function Documentation

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]

Make plots and either display or write to a file.

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]

Get a report/summary.

Reimplemented from casa::FlagAgentBase.

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::skipBaseline ( std::pair< Int, Int antennaPair) [private]

Member Data Documentation

Definition at line 105 of file FlagAgentDisplay.h.

Definition at line 106 of file FlagAgentDisplay.h.

Definition at line 95 of file FlagAgentDisplay.h.

Plotter members.

Definition at line 86 of file FlagAgentDisplay.h.

Definition at line 89 of file FlagAgentDisplay.h.

visBuffer state variables

Definition at line 100 of file FlagAgentDisplay.h.

Definition at line 101 of file FlagAgentDisplay.h.

Definition at line 109 of file FlagAgentDisplay.h.

Definition at line 108 of file FlagAgentDisplay.h.

Definition at line 88 of file FlagAgentDisplay.h.

Definition at line 94 of file FlagAgentDisplay.h.

Definition at line 118 of file FlagAgentDisplay.h.

Definition at line 89 of file FlagAgentDisplay.h.

Definition at line 88 of file FlagAgentDisplay.h.

Definition at line 95 of file FlagAgentDisplay.h.

Definition at line 97 of file FlagAgentDisplay.h.

Definition at line 87 of file FlagAgentDisplay.h.

Definition at line 96 of file FlagAgentDisplay.h.

Definition at line 103 of file FlagAgentDisplay.h.

Definition at line 102 of file FlagAgentDisplay.h.

Definition at line 90 of file FlagAgentDisplay.h.

Definition at line 116 of file FlagAgentDisplay.h.

Definition at line 116 of file FlagAgentDisplay.h.

Definition at line 116 of file FlagAgentDisplay.h.

Definition at line 104 of file FlagAgentDisplay.h.

Control parameters.

Definition at line 93 of file FlagAgentDisplay.h.

GUI parameters.

Definition at line 113 of file FlagAgentDisplay.h.

Definition at line 114 of file FlagAgentDisplay.h.

Definition at line 114 of file FlagAgentDisplay.h.


The documentation for this class was generated from the following file: