28 #ifndef MSVIS_STATWT_H
29 #define MSVIS_STATWT_H
87 const std::vector<casacore::uInt> selcorrs=std::vector<casacore::uInt>());
125 return (maxAnt + 1) * ant1 - (ant1 * (ant1 - 1)) / 2 + ant2 - ant1;
147 std::map<casacore::Int, casacore::Vector<casacore::Bool>*>
fitmask_p;
std::vector< casacore::uInt > selcorrs_p
a variance.
This is where all the work gets done *virtual casacore::Bool process(VisBuffGroup &vbg)
This is where all the work gets done!
casacore::Bool apply_variances(VisBuffer &vb, std::map< casacore::uInt, casacore::Vector< casacore::uInt > > &ns, std::map< casacore::uInt, casacore::Vector< casacore::Double > > &variances, const casacore::uInt maxAnt)
ns and variances are effectively const here, but declaring them that way would take some gymnastics...
TableExprNode means(const TableExprNode &array, const TableExprNodeSet &collapseAxes)
casacore::uInt minsamp_p
Otherwise, use the standard sample variance.
StatWT sets WEIGHT and SIGMA statistically.
TableExprNode variances(const TableExprNode &array, const TableExprNodeSet &collapseAxes)
std::set< casacore::Int > outspws_p
PredefinedColumns
The Main table colums with predefined meaning.
StatWT()
Disable null c'tor.
A class to store a group of VisBuffers.
casacore::uInt rowsdone_p
casacore::uInt hashFunction(const casacore::Int ant1, const casacore::Int ant2, const casacore::Int maxAnt)
Compute a baseline (row) index (ant1, ant2).
A base class for GroupWorkers that can modify their input MS.
std::map< casacore::Int, casacore::Vector< casacore::Bool > * > fitmask_p
Not initialized by c'tor: std::set<casacore::Int> appliedSpWs_p;
bool Bool
Define the standard types used by Casacore.
String: the storage and methods of handling collections of characters.
VisBuffers encapsulate one chunk of visibility data for processing.
casacore::String fitspw_p
Destructor *virtual ~StatWT()
ROVisibilityIterator iterates through one or more readonly MeasurementSets.
casacore::Bool update_variances(std::map< casacore::uInt, casacore::Vector< casacore::uInt > > &ns, std::map< casacore::uInt, casacore::Vector< casacore::Complex > > &means, std::map< casacore::uInt, casacore::Vector< casacore::Double > > &variances, const VisBuffer &vb, const casacore::Cube< casacore::Bool > &chanmaskedflags, const casacore::uInt maxAnt)
Complex visibility matrix.
casacore::String outspw_p
casacore::MS::PredefinedColumns datacol_p
Initialized by c'tor: