27 #ifndef _MSVIS_FILTRATIONTVI_H_
28 #define _MSVIS_FILTRATIONTVI_H_
52 class ViiLayerFactory;
53 class FiltrationTVIFactory;
70 type_string =
"SDDoubleCircleFilter";
73 type_string =
"InvalidFilter";
127 template<
class Filter>
359 #endif // _MSVIS_FILTRATIONTVI_H_
A Vector of integers, for indexing into Array<T> objects.
FiltrationTVILayerFactory(casacore::Record const &configuration)
virtual void timeInterval(casacore::Vector< double > &ti) const
Return nominal time interval.
virtual void scan(casacore::Vector< casacore::Int > &scans) const
Return scan number.
virtual void sigma(casacore::Matrix< casacore::Float > &sigmat) const
Return sigma.
virtual void flagCategory(casacore::Array< casacore::Bool > &flagCategories) const
Return flags for each polarization, channel, category, and row.
FilteringTypeEnum
Filtering type enum.
virtual casacore::Int nRows() const
Return the number of rows in the current iteration FiltrationTVI may change the number of rows when g...
FiltrationTVI is an implementation of data filtering.
virtual void arrayIds(casacore::Vector< casacore::Int > &) const
Return the current ArrayId.
~FiltrationTVIFactory()
FiltrationTVIFactory(casacore::Record const &configuration, casacore::MeasurementSet const *ms...
virtual void fieldIds(casacore::Vector< casacore::Int > &) const
Return the current FieldId.
FiltrationTVI(ViImplementation2 *inputVi, casacore::Record const &configuration)
virtual void sigmaSpectrum(casacore::Cube< casacore::Float > &wtsp) const
Return sgimaspectrum (a sigma for each channel)
virtual Type type()
Return the type enum.
virtual void processorId(casacore::Vector< casacore::Int > &procids) const
Return the PROCESSOR_IDs.
virtual void floatData(casacore::Cube< casacore::Float > &fcube) const
Return FLOAT_DATA as a casacore::Cube (npol, nchan, nrow) if found in the MS.
virtual void flagRow(casacore::Vector< casacore::Bool > &rowflags) const
Return row flag.
casacore::Vector< bool > is_valid_subchunk_p
boolean flag for each subchunk in the current chunk (True: valid, False: invalid) ...
virtual void dataDescriptionIds(casacore::Vector< casacore::Int > &) const
+=========================+ | | | Chunk and casacore::MS Level casacore::Data | | | +================...
virtual void exposure(casacore::Vector< double > &expo) const
Return actual time interval.
void filter()
Filtration operation increment the iterator until given subchunk passes through the filter...
casacore::Record configuration_p
virtual void spectralWindows(casacore::Vector< casacore::Int > &spws) const
Return current SpectralWindow.
virtual void originChunks(casacore::Bool forceRewind=false)
Methods to control chunk iterator.
virtual void antenna2(casacore::Vector< casacore::Int > &ant2) const
Return antenna2.
virtual void uvw(casacore::Matrix< double > &uvwmat) const
Return u,v and w (in meters)
virtual void flag(casacore::Cube< casacore::Bool > &flags) const
Return flag for each polarization, channel and row.
ViImplementation2 * createVi() const
FiltrationTVIFactory(casacore::Record const &configuration, ViImplementation2 *inputVII)
Constructor.
Fast Square Matrix class with fixed (templated) size.
virtual void timeCentroid(casacore::Vector< double > &t) const
Return MJD centroid of interval.
casacore::Vector< casacore::Bool > is_filtrate_p
virtual void observationId(casacore::Vector< casacore::Int > &obsids) const
Return the OBSERVATION_IDs.
virtual void antenna1(casacore::Vector< casacore::Int > &ant1) const
+=========================+ | | | Subchunk casacore::Data Accessors | | | +=========================+...
virtual ~FiltrationTVILayerFactory()
virtual casacore::String ViiType() const
Report the the ViImplementation type.
virtual void stateId(casacore::Vector< casacore::Int > &stateids) const
Return the STATE_IDs.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
virtual casacore::IPosition visibilityShape() const
Return the shape of the visibility Cube.
virtual void weightSpectrum(casacore::Cube< casacore::Float > &wtsp) const
Return weightspectrum (a weight for each channel)
ViImplementation2 * inputVII_p
casacore::Record configuration_p
virtual void jonesC(casacore::Vector< casacore::SquareMatrix< casacore::Complex, 2 > > &cjones) const
Return feed configuration matrix for specified antenna.
ViImplementation2 * createInstance(ViImplementation2 *vii0) const
Make a ViImplementation with another as input Must be specialized for each type.
casacore::Int num_filtrates_p
virtual void weight(casacore::Matrix< casacore::Float > &wtmat) const
Return weight.
virtual void feed2(casacore::Vector< casacore::Int > &fd2) const
Return feed2.
casacore::Record configuration_p
virtual void time(casacore::Vector< double > &t) const
Return MJD midpoint of interval.
VisibilityIterator2 iterates through one or more readonly MeasurementSets.
virtual casacore::String ViiType() const =0
Report the the ViImplementation type.
String: the storage and methods of handling collections of characters.
static casacore::String toString(FilteringTypeEnum type)
virtual ~FiltrationTVI()
Destructor.
virtual void visibilityModel(casacore::Cube< casacore::Complex > &vis) const
virtual void feed1(casacore::Vector< casacore::Int > &fd1) const
Return feed1.
virtual void visibilityCorrected(casacore::Cube< casacore::Complex > &vis) const
Return the visibilities as found in the casacore::MS, casacore::Cube (npol,nchan,nrow).
virtual void visibilityObserved(casacore::Cube< casacore::Complex > &vis) const
friend FiltrationTVIFactory
virtual void getRowIds(casacore::Vector< casacore::uInt > &rowids) const
Return the row ids as from the original root table.
virtual void origin()
+==================================+ | | | Iteration Control and Monitoring | | | +==================...
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.