casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
casa::FlagAgentBase Class Reference

A top level class defining the interface for flagging agents. More...

#include <FlagAgentBase.h>

Inheritance diagram for casa::FlagAgentBase:
casa::async::Thread casa::FlagAgentAntennaIntegrations casa::FlagAgentClipping casa::FlagAgentDisplay casa::FlagAgentElevation casa::FlagAgentExtension casa::FlagAgentManual casa::FlagAgentQuack casa::FlagAgentRFlag casa::FlagAgentShadow casa::FlagAgentSummary casa::FlagAgentTimeFreqCrop

Public Types

enum  datacolumn {
  DATA,
  CORRECTED,
  MODEL,
  RESIDUAL,
  RESIDUAL_DATA,
  FPARAM,
  CPARAM,
  PARAMERR,
  SNR,
  WEIGHT_SPECTRUM,
  FLOAT_DATA
}
 
enum  iteration {
  ROWS,
  ROWS_PREPROCESS_BUFFER,
  IN_ROWS,
  IN_ROWS_PREPROCESS_BUFFER,
  ANTENNA_PAIRS,
  ANTENNA_PAIRS_FLAGS,
  ANTENNA_PAIRS_INTERACTIVE,
  ANTENNA_PAIRS_PREPROCESS_BUFFER
}
 
- Public Types inherited from casa::async::Thread
typedef void *(* ThreadFunction )(void *)
 

Public Member Functions

 FlagAgentBase (FlagDataHandler *dh, casacore::Record config, casacore::uShort iterationApproach, casacore::Bool writePrivateFlagCube=false, casacore::Bool flag=true)
 
virtual ~FlagAgentBase ()
 
void start ()
 
void terminate ()
 
void queueProcess ()
 
void chunkSummary ()
 
void tableSummary ()
 
void completeProcess ()
 
void * run ()
 
void setProfiling (bool enable)
 Set function to activate profiling. More...
 
void setCheckMode (bool enable)
 Set function to activate check mode. More...
 
virtual FlagReport getReport ()
 Get a report casacore::Record from the agent, at the end of the run The report returned by getReport() can be of multiple types – a single report of type "none" : FlagReport("none",agentName_p) – a single report of type "plot" : FlagReport("plot",agentName_p) – a list of reports : FlagReport repList("list"); repList.addReport(FlagReport("plot",agentName_p)); repList.addReport(FlagReport("plot",agentName_p));. More...
 
- Public Member Functions inherited from casa::async::Thread
 Thread ()
 
virtual ~Thread ()
 
pthread_t getId () const
 
pid_t gettid () const
 
bool isTerminationRequested () const
 
void * join ()
 
void startThread ()
 

Static Public Member Functions

static FlagAgentBasecreate (FlagDataHandler *dh, casacore::Record config)
 

Public Attributes

casacore::Bool backgroundMode_p
 Externally visible configuration. More...
 
casacore::LogIO::Command logLevel_p
 
casacore::Bool apply_p
 
casacore::Bool flag_p
 

Protected Member Functions

void initialize ()
 
void runCore ()
 Convenience function to be shared by parallel/non-parallel mode. More...
 
void setDataSelection (casacore::Record config)
 
virtual void setAgentParameters (casacore::Record config)
 TODO: This class must be re-implemented in the derived classes. More...
 
casacore::String sanitizeCorrExpression (casacore::String corrExpression, std::vector< casacore::String > *corrProducts)
 Method to sanitize correlation expression and keep going. More...
 
void generateAllIndex ()
 
void generateRowsIndex (casacore::uInt nRows)
 
void generateChannelIndex (casacore::uInt nChannels)
 
void generatePolarizationIndex (casacore::uInt nPolarizations)
 
std::vector< casacore::uInt > * generateAntennaPairRowsIndex (casacore::Int antenna1, casacore::Int antenna2)
 
void indigen (std::vector< casacore::uInt > &index, casacore::uInt size)
 Generate index for all rows. More...
 
bool find (const casacore::Vector< casacore::Int > &validRange, casacore::Int element)
 For checking ids. More...
 
bool find (const casacore::Matrix< casacore::Double > &validRange, casacore::Double element)
 For checking ranges. More...
 
bool find (const casacore::Matrix< casacore::Int > &validPairs, casacore::Int element1, casacore::Int element2)
 For checking pairs. More...
 
bool find (const casacore::Block< int > &columns, int col)
 For checking columns. More...
 
bool isNaN (casacore::Double number)
 Check if a given number is nan (for visibilities,gains and Tsys primarily) More...
 
bool isNaN (casacore::Float number)
 
bool isZero (casacore::Double number)
 
bool isZero (casacore::Float number)
 
bool isNaNOrZero (casacore::Float number)
 
bool isNaNOrZero (casacore::Double number)
 
bool checkIfProcessBuffer ()
 Check if buffer has to be processed. More...
 
virtual void preProcessBuffer (const vi::VisBuffer2 &visBuffer)
 Common functionality for each visBuffer (don't repeat at the row level) More...
 
void iterateRows ()
 Iterate trough list of rows. More...
 
void iterateInRows ()
 Iterate trough visibilities mapper. More...
 
void iterateAntennaPairs ()
 Iterate trough list of antenna pairs. More...
 
void iterateAntennaPairsFlags ()
 Iterate trough list of antenna pairs w/o loading visibilities. More...
 
void processAntennaPair (casacore::Int antenna1, casacore::Int antenna2)
 Methods to interactively iterate trough list of antenna pairs. More...
 
virtual void iterateAntennaPairsInteractive (antennaPairMap *antennaPairMap_ptr)
 
virtual void passIntermediate (const vi::VisBuffer2 &visBuffer)
 Iter-passes method. More...
 
virtual void passFinal (const vi::VisBuffer2 &visBuffer)
 
void setVisibilitiesMap (std::vector< casacore::uInt > *rows, VisMapper *visMap)
 Mapping functions (abs, real, imag, etc.) as requested by Urvashi. More...
 
void setFlagsMap (std::vector< casacore::uInt > *rows, FlagMapper *flagMap)
 
casacore::Bool checkVisExpression (polarizationMap *polMap)
 
virtual bool computeRowFlags (const vi::VisBuffer2 &visBuffer, FlagMapper &flags, casacore::uInt row)
 Compute flags for a given visibilities point. More...
 
virtual bool computeInRowFlags (const vi::VisBuffer2 &visBuffer, VisMapper &visibilities, FlagMapper &flags, casacore::uInt row)
 Compute flags for a given visibilities point. More...
 
virtual bool computeAntennaPairFlags (const vi::VisBuffer2 &visBuffer, VisMapper &visibilities, FlagMapper &flags, casacore::Int antenna1, casacore::Int antenna2, std::vector< casacore::uInt > &rows)
 Compute flags for a given (time,freq) antenna pair map. More...
 
virtual bool computeAntennaPairFlags (const vi::VisBuffer2 &visBuffer, FlagMapper &flags, casacore::Int antenna1, casacore::Int antenna2, std::vector< casacore::uInt > &rows)
 Compute flags for a given (time,freq) antenna pair map w/o using visibilities. More...
 
- Protected Member Functions inherited from casa::async::Thread
bool isStarted () const
 

Protected Attributes

FlagDataHandlerflagDataHandler_p
 Common used members that must be accessible to derived classes. More...
 
std::unique_ptr< casacore::LogIOlogger_p
 
casacore::String agentName_p
 
casacore::String summaryName_p
 
casacore::String mode_p
 
casacore::uInt64 chunkFlags_p
 Flag counters. More...
 
casacore::uInt64 chunkNaNs_p
 
casacore::uInt64 tableFlags_p
 
casacore::uInt64 tableNaNs_p
 
casacore::uInt64 visBufferFlags_p
 
bool flagRow_p
 
casacore::Bool multiThreading_p
 Multithreading configuration and agent id. More...
 
casacore::Int nThreads_p
 
casacore::Int threadId_p
 
casacore::Bool prepass_p
 Running configuration. More...
 
std::vector< casacore::uIntrowsIndex_p
 Lists of elements to process jagonzal (CAS-4312): We need channelIndex_p available for the Rflag agent, in order to take into account channel selection for the frequency mapping. More...
 
std::vector< casacore::uIntchannelIndex_p
 
std::vector< casacore::uIntpolarizationIndex_p
 
casacore::String dataColumn_p
 Needed to be protected for timeavg in clip. More...
 
casacore::Bool timeavg_p
 Pre-averaging parameters. More...
 
casacore::Double timebin_p
 
casacore::Bool channelavg_p
 
casacore::Vector< casacore::Intchanbin_p
 

Private Attributes

vi::VisBuffer2visibilityBuffer_p
 
casacore::Cube< casacore::Bool > * commonFlagCube_p
 casacore::MS-related objects More...
 
casacore::Cube< casacore::Bool > * originalFlagCube_p
 
casacore::Cube< casacore::Bool > * privateFlagCube_p
 
casacore::Vector
< casacore::Bool > * 
commonFlagRow_p
 
casacore::Vector
< casacore::Bool > * 
originalFlagRow_p
 
casacore::Vector
< casacore::Bool > * 
privateFlagRow_p
 
casacore::String arraySelection_p
 Own data selection ranges. More...
 
casacore::String fieldSelection_p
 
casacore::String scanSelection_p
 
casacore::String timeSelection_p
 
casacore::String spwSelection_p
 
casacore::String channelSelection_p
 
casacore::String baselineSelection_p
 
casacore::String uvwSelection_p
 
casacore::String polarizationSelection_p
 
casacore::String observationSelection_p
 
casacore::String scanIntentSelection_p
 
bool filterRows_p
 
bool filterPols_p
 
bool filterChannels_p
 
bool flagAutoCorrelations_p
 
casacore::Bool antennaNegation_p
 
casacore::Vector< casacore::IntarrayList_p
 Own data selection indexes. More...
 
casacore::Vector< casacore::IntfieldList_p
 
casacore::Vector< casacore::IntscanList_p
 
casacore::Matrix
< casacore::Double
timeList_p
 
casacore::Vector< casacore::IntspwList_p
 
casacore::Matrix< casacore::IntchannelList_p
 
casacore::Vector< casacore::Intantenna1List_p
 
casacore::Vector< casacore::Intantenna2List_p
 
casacore::Matrix< casacore::IntbaselineList_p
 
casacore::Matrix
< casacore::Double
uvwList_p
 
casacore::Bool uvwUnits_p
 
std::map< casacore::Int,
casacore::Vector
< casacore::Int > > 
polarizationList_p
 
casacore::Vector< casacore::IntobservationList_p
 
casacore::Vector< casacore::IntscanIntentList_p
 
volatile casacore::Bool terminationRequested_p
 Thread state parameters. More...
 
volatile casacore::Bool threadTerminated_p
 
volatile casacore::Bool processing_p
 
casacore::String expression_p
 casacore::Data source configuration selection expression to pass to the VisMapper More...
 
casacore::uShort dataReference_p
 
casacore::Bool profiling_p
 Debugging configuration. More...
 
casacore::Bool checkFlags_p
 
casacore::uShort iterationApproach_p
 Running mode configuration. More...
 
casacore::Bool writePrivateFlagCube_p
 Flagging mode configuration. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from casa::async::Thread
static void * threadFunction (void *)
 

Detailed Description

A top level class defining the interface for flagging agents.

Intended use:

Public interface

Prerequisite

Etymology

FlagAgentBase stands for a generic class, specific to the flagging operations

Synopsis

This is a top-level class defining the interface for flagging agents. There are various methods (virtual) that must be re-implemented by the specific derived classes, depending on the implemented algorithm. Here we find three categories:

  1. Iteration approach methods:
  1. Configuration methods:
  1. Information methods

Additionally there are public non-virtual methods to:

Motivation

The motivation for the FlagAgentBase class is having all the iteration and filtering capabilities grouped in one single class, with a common interface for all the agents w/o introducing anything specific to the implementation of each algorithm, thus improving modularization and maintainability.

Example

The top level interface of a flagging agent is quite simple once it is configured, this is due to the fact that most of the complexity lies in the FlagDataHandler-FlagAgentBase interaction, which is hidden from the application layer (already explained in the FlagDataHandler documentation).

// Create FlagDataHandler
FlagDataHandler *dh = new FlagMSHandler(inputFile,iterationMode);
// First of all define a configuration record (e.g.: quack)
casacore::Record agentConfig;
agentConfig.define("mode","quack");
agentConfig.define("quackinterval",(casacore::Double)20);
// Use the factory method to create the agent, and put it into a FlagAgentList
FlagAgentList agentList;
FlagAgentBase *agent = FlagAgentBase::create(dh,agentConfig);
agentList.push_back(agent);
// Iterate over chunks
while (dh->nextChunk())
{
// Iterates over buffers
while (dh->nextBuffer())
{
// Apply agents on current VisBuffer
agentList.apply();
// Flush flags (only effective if there is a write access to the flag cube)
dh->flushFlags();
}
// Print chunk stats from each agent
agentList.chunkSummary();
}
// Print total stats from each agent
agentList.tableSummary();
// Stop flag agent
agentList.terminate();

Definition at line 168 of file FlagAgentBase.h.

Member Enumeration Documentation

Enumerator
DATA 
CORRECTED 
MODEL 
RESIDUAL 
RESIDUAL_DATA 
FPARAM 
CPARAM 
PARAMERR 
SNR 
WEIGHT_SPECTRUM 
FLOAT_DATA 

Definition at line 172 of file FlagAgentBase.h.

Enumerator
ROWS 
ROWS_PREPROCESS_BUFFER 
IN_ROWS 
IN_ROWS_PREPROCESS_BUFFER 
ANTENNA_PAIRS 
ANTENNA_PAIRS_FLAGS 
ANTENNA_PAIRS_INTERACTIVE 
ANTENNA_PAIRS_PREPROCESS_BUFFER 

Definition at line 187 of file FlagAgentBase.h.

Constructor & Destructor Documentation

casa::FlagAgentBase::FlagAgentBase ( FlagDataHandler dh,
casacore::Record  config,
casacore::uShort  iterationApproach,
casacore::Bool  writePrivateFlagCube = false,
casacore::Bool  flag = true 
)
virtual casa::FlagAgentBase::~FlagAgentBase ( )
virtual

Member Function Documentation

bool casa::FlagAgentBase::checkIfProcessBuffer ( )
protected

Check if buffer has to be processed.

casacore::Bool casa::FlagAgentBase::checkVisExpression ( polarizationMap polMap)
protected
void casa::FlagAgentBase::chunkSummary ( )
void casa::FlagAgentBase::completeProcess ( )
virtual bool casa::FlagAgentBase::computeAntennaPairFlags ( const vi::VisBuffer2 visBuffer,
VisMapper visibilities,
FlagMapper flags,
casacore::Int  antenna1,
casacore::Int  antenna2,
std::vector< casacore::uInt > &  rows 
)
protectedvirtual

Compute flags for a given (time,freq) antenna pair map.

Reimplemented in casa::FlagAgentRFlag, casa::FlagAgentDisplay, and casa::FlagAgentTimeFreqCrop.

virtual bool casa::FlagAgentBase::computeAntennaPairFlags ( const vi::VisBuffer2 visBuffer,
FlagMapper flags,
casacore::Int  antenna1,
casacore::Int  antenna2,
std::vector< casacore::uInt > &  rows 
)
protectedvirtual

Compute flags for a given (time,freq) antenna pair map w/o using visibilities.

Reimplemented in casa::FlagAgentExtension.

virtual bool casa::FlagAgentBase::computeInRowFlags ( const vi::VisBuffer2 visBuffer,
VisMapper visibilities,
FlagMapper flags,
casacore::uInt  row 
)
protectedvirtual

Compute flags for a given visibilities point.

Reimplemented in casa::FlagAgentClipping.

virtual bool casa::FlagAgentBase::computeRowFlags ( const vi::VisBuffer2 visBuffer,
FlagMapper flags,
casacore::uInt  row 
)
protectedvirtual
static FlagAgentBase* casa::FlagAgentBase::create ( FlagDataHandler dh,
casacore::Record  config 
)
static
bool casa::FlagAgentBase::find ( const casacore::Vector< casacore::Int > &  validRange,
casacore::Int  element 
)
protected

For checking ids.

bool casa::FlagAgentBase::find ( const casacore::Matrix< casacore::Double > &  validRange,
casacore::Double  element 
)
protected

For checking ranges.

bool casa::FlagAgentBase::find ( const casacore::Matrix< casacore::Int > &  validPairs,
casacore::Int  element1,
casacore::Int  element2 
)
protected

For checking pairs.

bool casa::FlagAgentBase::find ( const casacore::Block< int > &  columns,
int  col 
)
protected

For checking columns.

void casa::FlagAgentBase::generateAllIndex ( )
protected
std::vector<casacore::uInt>* casa::FlagAgentBase::generateAntennaPairRowsIndex ( casacore::Int  antenna1,
casacore::Int  antenna2 
)
protected
void casa::FlagAgentBase::generateChannelIndex ( casacore::uInt  nChannels)
protected
void casa::FlagAgentBase::generatePolarizationIndex ( casacore::uInt  nPolarizations)
protected
void casa::FlagAgentBase::generateRowsIndex ( casacore::uInt  nRows)
protected
virtual FlagReport casa::FlagAgentBase::getReport ( )
virtual

Get a report casacore::Record from the agent, at the end of the run The report returned by getReport() can be of multiple types – a single report of type "none" : FlagReport("none",agentName_p) – a single report of type "plot" : FlagReport("plot",agentName_p) – a list of reports : FlagReport repList("list"); repList.addReport(FlagReport("plot",agentName_p)); repList.addReport(FlagReport("plot",agentName_p));.

Reimplemented in casa::FlagAgentRFlag, casa::FlagAgentSummary, and casa::FlagAgentDisplay.

void casa::FlagAgentBase::indigen ( std::vector< casacore::uInt > &  index,
casacore::uInt  size 
)
protected

Generate index for all rows.

void casa::FlagAgentBase::initialize ( )
protected
bool casa::FlagAgentBase::isNaN ( casacore::Double  number)
protected

Check if a given number is nan (for visibilities,gains and Tsys primarily)

bool casa::FlagAgentBase::isNaN ( casacore::Float  number)
protected
bool casa::FlagAgentBase::isNaNOrZero ( casacore::Float  number)
protected
bool casa::FlagAgentBase::isNaNOrZero ( casacore::Double  number)
protected
bool casa::FlagAgentBase::isZero ( casacore::Double  number)
protected
bool casa::FlagAgentBase::isZero ( casacore::Float  number)
protected
void casa::FlagAgentBase::iterateAntennaPairs ( )
protected

Iterate trough list of antenna pairs.

void casa::FlagAgentBase::iterateAntennaPairsFlags ( )
protected

Iterate trough list of antenna pairs w/o loading visibilities.

virtual void casa::FlagAgentBase::iterateAntennaPairsInteractive ( antennaPairMap antennaPairMap_ptr)
protectedvirtual

Reimplemented in casa::FlagAgentDisplay.

void casa::FlagAgentBase::iterateInRows ( )
protected

Iterate trough visibilities mapper.

void casa::FlagAgentBase::iterateRows ( )
protected

Iterate trough list of rows.

virtual void casa::FlagAgentBase::passFinal ( const vi::VisBuffer2 visBuffer)
protectedvirtual

Reimplemented in casa::FlagAgentRFlag.

virtual void casa::FlagAgentBase::passIntermediate ( const vi::VisBuffer2 visBuffer)
protectedvirtual

Iter-passes method.

Reimplemented in casa::FlagAgentRFlag.

virtual void casa::FlagAgentBase::preProcessBuffer ( const vi::VisBuffer2 visBuffer)
protectedvirtual

Common functionality for each visBuffer (don't repeat at the row level)

Reimplemented in casa::FlagAgentSummary, casa::FlagAgentAntennaIntegrations, casa::FlagAgentDisplay, casa::FlagAgentElevation, and casa::FlagAgentShadow.

void casa::FlagAgentBase::processAntennaPair ( casacore::Int  antenna1,
casacore::Int  antenna2 
)
protected

Methods to interactively iterate trough list of antenna pairs.

void casa::FlagAgentBase::queueProcess ( )
void* casa::FlagAgentBase::run ( )
virtual

Implements casa::async::Thread.

void casa::FlagAgentBase::runCore ( )
protected

Convenience function to be shared by parallel/non-parallel mode.

casacore::String casa::FlagAgentBase::sanitizeCorrExpression ( casacore::String  corrExpression,
std::vector< casacore::String > *  corrProducts 
)
protected

Method to sanitize correlation expression and keep going.

virtual void casa::FlagAgentBase::setAgentParameters ( casacore::Record  config)
protectedvirtual
void casa::FlagAgentBase::setCheckMode ( bool  enable)
inline

Set function to activate check mode.

Definition at line 215 of file FlagAgentBase.h.

References checkFlags_p.

void casa::FlagAgentBase::setDataSelection ( casacore::Record  config)
protected
void casa::FlagAgentBase::setFlagsMap ( std::vector< casacore::uInt > *  rows,
FlagMapper flagMap 
)
protected
void casa::FlagAgentBase::setProfiling ( bool  enable)
inline

Set function to activate profiling.

Definition at line 212 of file FlagAgentBase.h.

References profiling_p.

void casa::FlagAgentBase::setVisibilitiesMap ( std::vector< casacore::uInt > *  rows,
VisMapper visMap 
)
protected

Mapping functions (abs, real, imag, etc.) as requested by Urvashi.

void casa::FlagAgentBase::start ( )
void casa::FlagAgentBase::tableSummary ( )
void casa::FlagAgentBase::terminate ( )
virtual

Reimplemented from casa::async::Thread.

Member Data Documentation

casacore::String casa::FlagAgentBase::agentName_p
protected

Definition at line 321 of file FlagAgentBase.h.

casacore::Vector<casacore::Int> casa::FlagAgentBase::antenna1List_p
private

Definition at line 379 of file FlagAgentBase.h.

casacore::Vector<casacore::Int> casa::FlagAgentBase::antenna2List_p
private

Definition at line 380 of file FlagAgentBase.h.

casacore::Bool casa::FlagAgentBase::antennaNegation_p
private

Definition at line 370 of file FlagAgentBase.h.

casacore::Bool casa::FlagAgentBase::apply_p

Definition at line 220 of file FlagAgentBase.h.

casacore::Vector<casacore::Int> casa::FlagAgentBase::arrayList_p
private

Own data selection indexes.

Definition at line 373 of file FlagAgentBase.h.

casacore::String casa::FlagAgentBase::arraySelection_p
private

Own data selection ranges.

Definition at line 355 of file FlagAgentBase.h.

casacore::Bool casa::FlagAgentBase::backgroundMode_p

Externally visible configuration.

Definition at line 218 of file FlagAgentBase.h.

casacore::Matrix<casacore::Int> casa::FlagAgentBase::baselineList_p
private

Definition at line 381 of file FlagAgentBase.h.

casacore::String casa::FlagAgentBase::baselineSelection_p
private

Definition at line 361 of file FlagAgentBase.h.

casacore::Vector<casacore::Int> casa::FlagAgentBase::chanbin_p
protected

Definition at line 423 of file FlagAgentBase.h.

casacore::Bool casa::FlagAgentBase::channelavg_p
protected

Definition at line 422 of file FlagAgentBase.h.

std::vector<casacore::uInt> casa::FlagAgentBase::channelIndex_p
protected

Definition at line 413 of file FlagAgentBase.h.

casacore::Matrix<casacore::Int> casa::FlagAgentBase::channelList_p
private

Definition at line 378 of file FlagAgentBase.h.

casacore::String casa::FlagAgentBase::channelSelection_p
private

Definition at line 360 of file FlagAgentBase.h.

casacore::Bool casa::FlagAgentBase::checkFlags_p
private

Definition at line 400 of file FlagAgentBase.h.

Referenced by setCheckMode().

casacore::uInt64 casa::FlagAgentBase::chunkFlags_p
protected

Flag counters.

Definition at line 326 of file FlagAgentBase.h.

casacore::uInt64 casa::FlagAgentBase::chunkNaNs_p
protected

Definition at line 327 of file FlagAgentBase.h.

casacore::Cube<casacore::Bool>* casa::FlagAgentBase::commonFlagCube_p
private

casacore::MS-related objects

Definition at line 346 of file FlagAgentBase.h.

casacore::Vector<casacore::Bool>* casa::FlagAgentBase::commonFlagRow_p
private

Definition at line 350 of file FlagAgentBase.h.

casacore::String casa::FlagAgentBase::dataColumn_p
protected

Needed to be protected for timeavg in clip.

Definition at line 417 of file FlagAgentBase.h.

casacore::uShort casa::FlagAgentBase::dataReference_p
private

Definition at line 396 of file FlagAgentBase.h.

casacore::String casa::FlagAgentBase::expression_p
private

casacore::Data source configuration selection expression to pass to the VisMapper

Definition at line 395 of file FlagAgentBase.h.

casacore::Vector<casacore::Int> casa::FlagAgentBase::fieldList_p
private

Definition at line 374 of file FlagAgentBase.h.

casacore::String casa::FlagAgentBase::fieldSelection_p
private

Definition at line 356 of file FlagAgentBase.h.

bool casa::FlagAgentBase::filterChannels_p
private

Definition at line 368 of file FlagAgentBase.h.

bool casa::FlagAgentBase::filterPols_p
private

Definition at line 367 of file FlagAgentBase.h.

bool casa::FlagAgentBase::filterRows_p
private

Definition at line 366 of file FlagAgentBase.h.

casacore::Bool casa::FlagAgentBase::flag_p

Definition at line 221 of file FlagAgentBase.h.

bool casa::FlagAgentBase::flagAutoCorrelations_p
private

Definition at line 369 of file FlagAgentBase.h.

FlagDataHandler* casa::FlagAgentBase::flagDataHandler_p
protected

Common used members that must be accessible to derived classes.

Definition at line 319 of file FlagAgentBase.h.

bool casa::FlagAgentBase::flagRow_p
protected

Definition at line 331 of file FlagAgentBase.h.

casacore::uShort casa::FlagAgentBase::iterationApproach_p
private

Running mode configuration.

Definition at line 403 of file FlagAgentBase.h.

std::unique_ptr<casacore::LogIO> casa::FlagAgentBase::logger_p
protected

Definition at line 320 of file FlagAgentBase.h.

casacore::LogIO::Command casa::FlagAgentBase::logLevel_p

Definition at line 219 of file FlagAgentBase.h.

casacore::String casa::FlagAgentBase::mode_p
protected

Definition at line 323 of file FlagAgentBase.h.

casacore::Bool casa::FlagAgentBase::multiThreading_p
protected

Multithreading configuration and agent id.

Definition at line 334 of file FlagAgentBase.h.

casacore::Int casa::FlagAgentBase::nThreads_p
protected

Definition at line 335 of file FlagAgentBase.h.

casacore::Vector<casacore::Int> casa::FlagAgentBase::observationList_p
private

Definition at line 385 of file FlagAgentBase.h.

casacore::String casa::FlagAgentBase::observationSelection_p
private

Definition at line 364 of file FlagAgentBase.h.

casacore::Cube<casacore::Bool>* casa::FlagAgentBase::originalFlagCube_p
private

Definition at line 347 of file FlagAgentBase.h.

casacore::Vector<casacore::Bool>* casa::FlagAgentBase::originalFlagRow_p
private

Definition at line 351 of file FlagAgentBase.h.

std::vector<casacore::uInt> casa::FlagAgentBase::polarizationIndex_p
protected

Definition at line 414 of file FlagAgentBase.h.

std::map<casacore::Int, casacore::Vector<casacore::Int> > casa::FlagAgentBase::polarizationList_p
private

Definition at line 384 of file FlagAgentBase.h.

casacore::String casa::FlagAgentBase::polarizationSelection_p
private

Definition at line 363 of file FlagAgentBase.h.

casacore::Bool casa::FlagAgentBase::prepass_p
protected

Running configuration.

Definition at line 339 of file FlagAgentBase.h.

casacore::Cube<casacore::Bool>* casa::FlagAgentBase::privateFlagCube_p
private

Definition at line 348 of file FlagAgentBase.h.

casacore::Vector<casacore::Bool>* casa::FlagAgentBase::privateFlagRow_p
private

Definition at line 352 of file FlagAgentBase.h.

volatile casacore::Bool casa::FlagAgentBase::processing_p
private

Definition at line 391 of file FlagAgentBase.h.

casacore::Bool casa::FlagAgentBase::profiling_p
private

Debugging configuration.

Definition at line 399 of file FlagAgentBase.h.

Referenced by setProfiling().

std::vector<casacore::uInt> casa::FlagAgentBase::rowsIndex_p
protected

Lists of elements to process jagonzal (CAS-4312): We need channelIndex_p available for the Rflag agent, in order to take into account channel selection for the frequency mapping.

Definition at line 412 of file FlagAgentBase.h.

casacore::Vector<casacore::Int> casa::FlagAgentBase::scanIntentList_p
private

Definition at line 386 of file FlagAgentBase.h.

casacore::String casa::FlagAgentBase::scanIntentSelection_p
private

Definition at line 365 of file FlagAgentBase.h.

casacore::Vector<casacore::Int> casa::FlagAgentBase::scanList_p
private

Definition at line 375 of file FlagAgentBase.h.

casacore::String casa::FlagAgentBase::scanSelection_p
private

Definition at line 357 of file FlagAgentBase.h.

casacore::Vector<casacore::Int> casa::FlagAgentBase::spwList_p
private

Definition at line 377 of file FlagAgentBase.h.

casacore::String casa::FlagAgentBase::spwSelection_p
private

Definition at line 359 of file FlagAgentBase.h.

casacore::String casa::FlagAgentBase::summaryName_p
protected

Definition at line 322 of file FlagAgentBase.h.

casacore::uInt64 casa::FlagAgentBase::tableFlags_p
protected

Definition at line 328 of file FlagAgentBase.h.

casacore::uInt64 casa::FlagAgentBase::tableNaNs_p
protected

Definition at line 329 of file FlagAgentBase.h.

volatile casacore::Bool casa::FlagAgentBase::terminationRequested_p
private

Thread state parameters.

Definition at line 389 of file FlagAgentBase.h.

casacore::Int casa::FlagAgentBase::threadId_p
protected

Definition at line 336 of file FlagAgentBase.h.

volatile casacore::Bool casa::FlagAgentBase::threadTerminated_p
private

Definition at line 390 of file FlagAgentBase.h.

casacore::Bool casa::FlagAgentBase::timeavg_p
protected

Pre-averaging parameters.

Definition at line 420 of file FlagAgentBase.h.

casacore::Double casa::FlagAgentBase::timebin_p
protected

Definition at line 421 of file FlagAgentBase.h.

casacore::Matrix<casacore::Double> casa::FlagAgentBase::timeList_p
private

Definition at line 376 of file FlagAgentBase.h.

casacore::String casa::FlagAgentBase::timeSelection_p
private

Definition at line 358 of file FlagAgentBase.h.

casacore::Matrix<casacore::Double> casa::FlagAgentBase::uvwList_p
private

Definition at line 382 of file FlagAgentBase.h.

casacore::String casa::FlagAgentBase::uvwSelection_p
private

Definition at line 362 of file FlagAgentBase.h.

casacore::Bool casa::FlagAgentBase::uvwUnits_p
private

Definition at line 383 of file FlagAgentBase.h.

casacore::uInt64 casa::FlagAgentBase::visBufferFlags_p
protected

Definition at line 330 of file FlagAgentBase.h.

vi::VisBuffer2* casa::FlagAgentBase::visibilityBuffer_p
private

Definition at line 343 of file FlagAgentBase.h.

casacore::Bool casa::FlagAgentBase::writePrivateFlagCube_p
private

Flagging mode configuration.

Definition at line 406 of file FlagAgentBase.h.


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