casa
5.7.0-16
|
Provides sampling of data for esimation algorithms. More...
#include <DataSampling.h>
Public Member Functions | |
DataSampling () | |
DataSampling (const DataSampling &other) | |
Copy constructor. More... | |
DataSampling & | operator= (const DataSampling &other) |
Assignment operator. More... | |
virtual | ~DataSampling () |
const casacore::Array < casacore::Float > & | getDX () const |
const casacore::Array < casacore::Float > & | getData () const |
const casacore::Array < casacore::Float > & | getSigma () const |
const casacore::Array < casacore::Float > & | getPRF () const |
casacore::String | getIDLScript () const |
Protected Member Functions | |
void | ok () |
Protected Attributes | |
casacore::Array< casacore::Float > | dx_p |
casacore::Array< casacore::Float > | data_p |
casacore::Array< casacore::Float > | sigma_p |
casacore::Array< casacore::Float > | prf_p |
casacore::Int | lastRow |
casacore::String | IDLScript_p |
Provides sampling of data for esimation algorithms.
Public interface
Samples casacore::Data as needed for various estimation algorithms
Esimation algorithms such as the Pixon method need sampled and unitless versions of the data. This class is a base class for such sampling classes. Derived examples are for single dish imaging (SDDataSampling) and image deconvolution (ImageDataSampling).
THe calculated quantities are
The Point Response casacore::Function in that space
The DataSampling object is constructed with the data sources as arguments, and then the calculate method is used to find the above quantities. The estimation method may then retrieve the data quantities as needed.
Define an estimator PixonProcessor pp;
Get the model image casacore::PagedImage<casacore::Float> modelImage(modelName);
Set up the data sampling VPSkyJones vp(ms, true, parAngleInc, squintType); SDDataSampling ds(ms, vp);
Calculating data sampling, etc.
ds.calculate(modelImage);
Finding pixon solution pp.calculate(ds);
Define an interface to allow efficient processing of chunks of data
Definition at line 104 of file DataSampling.h.
casa::DataSampling::DataSampling | ( | ) |
casa::DataSampling::DataSampling | ( | const DataSampling & | other | ) |
Copy constructor.
|
virtual |
const casacore::Array<casacore::Float>& casa::DataSampling::getData | ( | ) | const |
const casacore::Array<casacore::Float>& casa::DataSampling::getDX | ( | ) | const |
|
inline |
Definition at line 125 of file DataSampling.h.
References IDLScript_p.
const casacore::Array<casacore::Float>& casa::DataSampling::getPRF | ( | ) | const |
const casacore::Array<casacore::Float>& casa::DataSampling::getSigma | ( | ) | const |
|
protected |
DataSampling& casa::DataSampling::operator= | ( | const DataSampling & | other | ) |
Assignment operator.
|
protected |
Definition at line 130 of file DataSampling.h.
|
protected |
Definition at line 125 of file DataSampling.h.
|
protected |
Definition at line 136 of file DataSampling.h.
Referenced by getIDLScript().
|
protected |
Definition at line 134 of file DataSampling.h.
|
protected |
Definition at line 132 of file DataSampling.h.
|
protected |
Definition at line 131 of file DataSampling.h.