8 #ifndef MSVIS_AVERAGINGVIFACTORY_H_
9 #define MSVIS_AVERAGINGVIFACTORY_H_
15 class MeasurementSet2;
100 nSet += (result &
mask) != 0 ? 1 : 0;
AveragingOptions(Options o)
WeightScaling * getWeightScaling() const
virtual ~AveragingVi2LayerFactory()
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
casacore::Bool isWritable_p
SortColumns sortColumns_p
Requires specifying a max uvw distance parameter.
void setChunkInterval(casacore::Double)
casacore::Int nSet(casacore::Int o) const
casacore::Bool contains(Options o) const
const AveragingParameters avepars_p
casacore::Double getXpcOffset() const
void setWritable(casacore::Bool isWritable)
VisBufferComponents2 allDataColumns() const
AveragingVi2LayerFactory(const AveragingParameters &avepars)
AveragingOptions averagingOptions_p
AveragingParameters & operator=(const AveragingParameters &other)
void setWeightScaling(WeightScaling *)
AveragingOptions & operator|=(const AveragingOptions &other)
const AveragingOptions & getOptions() const
The AveragingVi2Factory is used to initialize a VisibilityIterator2 so that it performs time averagin...
casacore::Double getAveragingInterval() const
casacore::Bool isWriteable() const
void setPhaseShift(casacore::Double dx, casacore::Double dy)
AveragingOptions operator~() const
void setSortColumns(const SortColumns &)
casacore::Double getYpcOffset() const
AveragingOptions operator&(const AveragingOptions &other) const
bool Bool
Define the standard types used by Casacore.
casacore::Double getMaxUvwDistance() const
casacore::Double averagingInterval_p
void setMaxUvwDistance(casacore::Double)
AveragingOptions operator|(const AveragingOptions &other) const
A Table intended to hold astronomical data (a set of Measurements).
void setOptions(const AveragingOptions &)
void setAveragingInterval(casacore::Double)
AveragingOptions(casacore::Int options)
casacore::Double maxUvwDistance_p
AveragingParameters parameters_p
virtual ViImplementation2 * createInstance(ViImplementation2 *vii0) const
Make a ViImplementation with another as input Must be specialized for each type.
casacore::Block< const casacore::MeasurementSet * > mss_p
VisibilityIterator2 iterates through one or more readonly MeasurementSets.
virtual ViImplementation2 * createVi() const
casacore::Double XpcOffset_p
const SortColumns & getSortColumns() const
casacore::Double getChunkInterval() const
casacore::Double YpcOffset_p
This class encapsulates an enum with values corresponding to the various data components accessible v...
WeightScaling * weightScaling_p
void initialize(const AveragingParameters ¶meters, const casacore::Block< const casacore::MeasurementSet * > &mss)
AveragingVi2Factory(const AveragingParameters ¶meters, casacore::MeasurementSet *ms)
casacore::Double chunkInterval_p