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

Parallel model visibility prediction. More...

#include <PredictAlgorithm.h>

Inheritance diagram for casa::PredictAlgorithm:
casa::Algorithm

Public Member Functions

 PredictAlgorithm ()
 Default constructor and destructor. More...
 
 ~PredictAlgorithm ()
 
void get ()
 Get the input data and parameters from the controller. More...
 
void put ()
 Return the results to the controller. More...
 
casacore::Stringname ()
 Return the name of the algorithm. More...
 
- Public Member Functions inherited from casa::Algorithm
 Algorithm ()
 Default constructor and destructor. More...
 
virtual ~Algorithm ()
 
void apply ()
 Generic apply to execute the parallel task. More...
 

Private Member Functions

void task ()
 The work that a child processor is to do. More...
 
void initializeGet (const VisBuffer &vb, casacore::Int row, casacore::Int model, casacore::Bool incremental)
 Initialize the visibility grid. More...
 
VisBuffergetModelVis (VisBuffer &vb, casacore::Int model, casacore::Bool incremental)
 FT and put the result into the model visibility column of the visbuffer. More...
 

Private Attributes

casacore::Int model_p
 Private data. More...
 
casacore::TempImage
< casacore::Complex > * 
cImage_p
 
casacore::String myName_p
 
casacore::String msName_p
 
casacore::Bool incremental_p
 
casacore::TempImage
< casacore::Float
psf_p
 
FTMachineft_p
 
casacore::MeasurementSetms_p
 

Additional Inherited Members

Detailed Description

Parallel model visibility prediction.

Intended use:

Public interface

Prerequisite

Etymology

From "parallel model visibility prediction" and "algorithm"

Synopsis

Used by PSkyEquation to predict model visibility in parallel. Fits within the Applicator/Algorithm framework

Example

Motivation

Encapsulates the parallel model visibility prediction

To Do

Definition at line 78 of file PredictAlgorithm.h.

Constructor & Destructor Documentation

casa::PredictAlgorithm::PredictAlgorithm ( )

Default constructor and destructor.

casa::PredictAlgorithm::~PredictAlgorithm ( )

Member Function Documentation

void casa::PredictAlgorithm::get ( )
virtual

Get the input data and parameters from the controller.

Implements casa::Algorithm.

VisBuffer& casa::PredictAlgorithm::getModelVis ( VisBuffer vb,
casacore::Int  model,
casacore::Bool  incremental 
)
private

FT and put the result into the model visibility column of the visbuffer.

void casa::PredictAlgorithm::initializeGet ( const VisBuffer vb,
casacore::Int  row,
casacore::Int  model,
casacore::Bool  incremental 
)
private

Initialize the visibility grid.

casacore::String& casa::PredictAlgorithm::name ( )
virtual

Return the name of the algorithm.

Implements casa::Algorithm.

void casa::PredictAlgorithm::put ( )
virtual

Return the results to the controller.

Implements casa::Algorithm.

void casa::PredictAlgorithm::task ( )
privatevirtual

The work that a child processor is to do.

Implements casa::Algorithm.

Member Data Documentation

casacore::TempImage<casacore::Complex>* casa::PredictAlgorithm::cImage_p
private

Definition at line 97 of file PredictAlgorithm.h.

FTMachine* casa::PredictAlgorithm::ft_p
private

Definition at line 102 of file PredictAlgorithm.h.

casacore::Bool casa::PredictAlgorithm::incremental_p
private

Definition at line 100 of file PredictAlgorithm.h.

casacore::Int casa::PredictAlgorithm::model_p
private

Private data.

Definition at line 95 of file PredictAlgorithm.h.

casacore::MeasurementSet* casa::PredictAlgorithm::ms_p
private

Definition at line 103 of file PredictAlgorithm.h.

casacore::String casa::PredictAlgorithm::msName_p
private

Definition at line 99 of file PredictAlgorithm.h.

casacore::String casa::PredictAlgorithm::myName_p
private

Definition at line 98 of file PredictAlgorithm.h.

casacore::TempImage<casacore::Float> casa::PredictAlgorithm::psf_p
private

Definition at line 101 of file PredictAlgorithm.h.


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