casa
$Rev:20696$
|
Provides sampling of data for esimation algorithms. More...
#include <DataSampling.h>
Public Member Functions | |
DataSampling () | |
DataSampling (const DataSampling &other) | |
Copy constructor. | |
DataSampling & | operator= (const DataSampling &other) |
Assignment operator. | |
virtual | ~DataSampling () |
const Array< Float > & | getDX () const |
const Array< Float > & | getData () const |
const Array< Float > & | getSigma () const |
const Array< Float > & | getPRF () const |
String | getIDLScript () const |
Protected Member Functions | |
void | ok () |
Protected Attributes | |
Array< Float > | dx_p |
Array< Float > | data_p |
Array< Float > | sigma_p |
Array< Float > | prf_p |
Int | lastRow |
String | IDLScript_p |
Provides sampling of data for esimation algorithms.
Public interface
Samples 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 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 PagedImage<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 | ( | const DataSampling & | other | ) |
Copy constructor.
virtual casa::DataSampling::~DataSampling | ( | ) | [virtual] |
const Array<Float>& casa::DataSampling::getData | ( | ) | const |
const Array<Float>& casa::DataSampling::getDX | ( | ) | const |
String casa::DataSampling::getIDLScript | ( | ) | const [inline] |
Definition at line 125 of file DataSampling.h.
References IDLScript_p.
const Array<Float>& casa::DataSampling::getPRF | ( | ) | const |
const Array<Float>& casa::DataSampling::getSigma | ( | ) | const |
void casa::DataSampling::ok | ( | ) | [protected] |
Reimplemented in casa::ImageDataSampling, casa::SDDataSampling, and casa::SynDataSampling.
DataSampling& casa::DataSampling::operator= | ( | const DataSampling & | other | ) |
Assignment operator.
Array<Float> casa::DataSampling::data_p [protected] |
Definition at line 130 of file DataSampling.h.
Array<Float> casa::DataSampling::dx_p [protected] |
Definition at line 125 of file DataSampling.h.
String casa::DataSampling::IDLScript_p [protected] |
Definition at line 136 of file DataSampling.h.
Referenced by getIDLScript().
Int casa::DataSampling::lastRow [protected] |
Definition at line 134 of file DataSampling.h.
Array<Float> casa::DataSampling::prf_p [protected] |
Definition at line 132 of file DataSampling.h.
Array<Float> casa::DataSampling::sigma_p [protected] |
Definition at line 131 of file DataSampling.h.