casa
5.7.0-16
|
This class is necessary to ensure partial initialization of SIGMA_SPECTRUM and WEIGHT_SPECTRUM in the MS is not done. More...
#include <StatWtColConfig.h>
Public Member Functions | |
StatWtColConfig ()=delete | |
StatWtColConfig (casacore::MeasurementSet *ms, casacore::Bool preview, const casacore::String &dataColumn, const casac::variant &chanbin) | |
It is the caller's responsibility to ensure that the input ms represents the entire MS, and is not an MS that has had a selection applied to it. More... | |
~StatWtColConfig () | |
void | getColWriteFlags (casacore::Bool &mustWriteWt, casacore::Bool &mustWriteWtSp, casacore::Bool &mustWriteSig, casacore::Bool &mustWriteSigSp) const |
void | initSpecColsIfNecessary () |
Private Member Functions | |
void | _dealWithSpectrumColumn (casacore::Bool &hasSpec, casacore::Bool &mustWriteSpec, casacore::Bool &mustInitSpec, casacore::Bool mustWriteNonSpec, const casacore::String &colName, const casacore::String &descName, casacore::Bool specIsInitialized, const casacore::String &mgrName) |
determine if the MS has a WEIGHT/SIGMA_SPECTRUM column, if it must be written, and/or if it must be initialized. More... | |
void | _determineFlags () |
void | _hasSpectrumIsSpectrumInitialized (casacore::Bool &hasSpectrum, casacore::Bool &spectrumIsInitialzied, casacore::MS::PredefinedColumns col) const |
void | _initSpecColsIfNecessary () |
This class is necessary to ensure partial initialization of SIGMA_SPECTRUM and WEIGHT_SPECTRUM in the MS is not done.
It should be constructed using the entire MS (not an MS that has had a selection applied to it). This class will do the complete initialization of SIGMA_SPECTRUM and WEIGHT_SPECTRUM if necessary.
Definition at line 45 of file StatWtColConfig.h.
|
delete |
casa::StatWtColConfig::StatWtColConfig | ( | casacore::MeasurementSet * | ms, |
casacore::Bool | preview, | ||
const casacore::String & | dataColumn, | ||
const casac::variant & | chanbin | ||
) |
It is the caller's responsibility to ensure that the input ms represents the entire MS, and is not an MS that has had a selection applied to it.
casa::StatWtColConfig::~StatWtColConfig | ( | ) |
|
private |
determine if the MS has a WEIGHT/SIGMA_SPECTRUM column, if it must be written, and/or if it must be initialized.
|
private |
|
private |
|
private |
void casa::StatWtColConfig::getColWriteFlags | ( | casacore::Bool & | mustWriteWt, |
casacore::Bool & | mustWriteWtSp, | ||
casacore::Bool & | mustWriteSig, | ||
casacore::Bool & | mustWriteSigSp | ||
) | const |
void casa::StatWtColConfig::initSpecColsIfNecessary | ( | ) |
|
private |
Definition at line 78 of file StatWtColConfig.h.
|
private |
Definition at line 79 of file StatWtColConfig.h.
|
private |
Definition at line 69 of file StatWtColConfig.h.
|
private |
Definition at line 75 of file StatWtColConfig.h.
|
private |
Definition at line 72 of file StatWtColConfig.h.
|
private |
Definition at line 73 of file StatWtColConfig.h.
|
private |
Definition at line 74 of file StatWtColConfig.h.
|
private |
Definition at line 70 of file StatWtColConfig.h.
|
private |
Definition at line 71 of file StatWtColConfig.h.
|
private |
Definition at line 76 of file StatWtColConfig.h.
|
private |
Definition at line 77 of file StatWtColConfig.h.