casa
5.7.0-16
|
This class implements reweighting of visibilities based on the statwt algorithm. More...
#include <StatWt.h>
Public Member Functions | |
StatWt (casacore::MeasurementSet *ms, const StatWtColConfig *const statwtColConfig) | |
~StatWt () | |
void | setCombine (const casacore::String &combine) |
set columns for which to ignore changes when aggregating data More... | |
void | setOutputMS (const casacore::String &outname) |
void | setPreview (casacore::Bool preview) |
set preview mode (True) or not (False) More... | |
void | setTimeBinWidth (const casacore::Quantity &binWidth) |
void | setTimeBinWidth (casacore::Double binWidth) |
binWidth must be in seconds More... | |
void | setTimeBinWidthUsingInterval (casacore::uInt n) |
set the time bin width using an integral number of integration time. More... | |
void | setTVIConfig (const casacore::Record &config) |
set the StatWtTVI config record More... | |
casacore::Record | writeWeights () |
Private Member Functions | |
void | _constructVi (std::shared_ptr< vi::VisibilityIterator2 > &vi, std::shared_ptr< vi::StatWtTVILayerFactory > &factory) const |
Construct the iterator. More... | |
Private Attributes | |
casacore::MeasurementSet * | _ms |
casacore::String | _outname |
casacore::Double | _timeBinWidth |
time bin width in seconds More... | |
casacore::LogIO | _log |
std::unique_ptr< casacore::Int > | _chanBinWidthInt |
std::unique_ptr< casacore::Record > | _chanBinWidthQ |
casacore::String | _combine |
casacore::StatisticsAlgorithmFactory < casacore::Double, casacore::Array < casacore::Float > ::const_iterator, casacore::Array < casacore::Bool > ::const_iterator > | _saf |
std::unique_ptr< std::pair < casacore::Double, casacore::Double > > | _wtrange |
casacore::Record | _tviConfig |
casacore::Bool | _preview |
const StatWtColConfig * | _statwtColConfig |
This class implements reweighting of visibilities based on the statwt algorithm.
casa::StatWt::StatWt | ( | casacore::MeasurementSet * | ms, |
const StatWtColConfig *const | statwtColConfig | ||
) |
casa::StatWt::~StatWt | ( | ) |
|
private |
Construct the iterator.
void casa::StatWt::setCombine | ( | const casacore::String & | combine | ) |
set columns for which to ignore changes when aggregating data
void casa::StatWt::setOutputMS | ( | const casacore::String & | outname | ) |
void casa::StatWt::setPreview | ( | casacore::Bool | preview | ) |
set preview mode (True) or not (False)
void casa::StatWt::setTimeBinWidth | ( | const casacore::Quantity & | binWidth | ) |
void casa::StatWt::setTimeBinWidth | ( | casacore::Double | binWidth | ) |
binWidth must be in seconds
void casa::StatWt::setTimeBinWidthUsingInterval | ( | casacore::uInt | n | ) |
set the time bin width using an integral number of integration time.
For this purpose, the integration time is defined as the median value of the INTERVAL column. If either extrema in this column is more than 25% different from the median, an exception will be thrown because there is no single representative value of the integration time.
void casa::StatWt::setTVIConfig | ( | const casacore::Record & | config | ) |
set the StatWtTVI config record
casacore::Record casa::StatWt::writeWeights | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |