#include <FilterOperation.h>
Public Member Functions | |
virtual const char * | tag () const =0 |
virtual const char * | description () const =0 |
virtual void | process (FilteredAnitaEvent *event)=0 |
virtual void | processOne (AnalysisWaveform *awf, const RawAnitaHeader *header=0, int ant=0, int pol=0)=0 |
virtual unsigned | nOutputs () const |
virtual const char * | outputName (unsigned i) const |
virtual unsigned | outputLength (unsigned i) const |
virtual void | fillOutput (unsigned i, double *v) const |
virtual | ~FilterOperation () |
Protected Member Functions | |
AnalysisWaveform * | getWf (FilteredAnitaEvent *ev, int i) |
AnalysisWaveform * | getWf (FilteredAnitaEvent *ev, int ant, AnitaPol::AnitaPol_t pol) |
A FilteredOperation does things to the waveforms inside a FilteredAnitaEvent
See anitaGround/cozzyd/UCorrelator for some example implementing filters.
Definition at line 15 of file FilterOperation.h.
|
virtual |
Destructor
Definition at line 8 of file FilterOperation.cc.
|
pure virtual |
human readable description, should provide sufficient information to understand what was done
Implemented in UCorrelator::CombinedSineSubtractFilter, UCorrelator::AdaptiveButterworthFilter, UCorrelator::AdaptiveMinimumPhaseFilter, IFFTDiffFilter, UCorrelator::AdaptiveBrickWallFilter, AnitaResponse::DeconvolveFilter, UCorrelator::SineSubtractFilter, DeglitchFilter, Acclaim::Filters::UniformMagnitude, ALFAButterworthFilter, Acclaim::Filters::SpectrumMagnitude, UCorrelator::AdaptiveFilterAbby, ALFALanczosFilter, Acclaim::Filters::RayleighFilter, DigitalFilterOperation, UCorrelator::ComplicatedNotchFilter, SumDifferenceFilter, HybridFilter, Acclaim::Filters::RayleighMonitor, ALFASincFilter, UCorrelator::A3toA4ConversionFilter, ConditionalFilterOperation, Acclaim::Filters::Notch, UCorrelator::timePadFilter, SimpleNotchFilter, UCorrelator::AntiBH13Filter, GeometricFilter, SimplePassBandFilter, UCorrelator::BH13Filter, DiodeFilter, and GaussianTaper.
|
inlinevirtual |
Fill the ith output
Reimplemented in UCorrelator::CombinedSineSubtractFilter, UCorrelator::SineSubtractFilter, UCorrelator::AdaptiveFilterAbby, Acclaim::Filters::RayleighMonitor, and Acclaim::Filters::Notch.
Definition at line 43 of file FilterOperation.h.
|
protected |
Accessor for waveform
Definition at line 34 of file FilterOperation.cc.
|
protected |
Accessor for waveform
Definition at line 39 of file FilterOperation.cc.
|
inlinevirtual |
The number of output variables (doubles or double arrays) defined by this operation
Reimplemented in UCorrelator::CombinedSineSubtractFilter, UCorrelator::SineSubtractFilter, UCorrelator::AdaptiveFilterAbby, Acclaim::Filters::RayleighMonitor, and Acclaim::Filters::Notch.
Definition at line 34 of file FilterOperation.h.
|
inlinevirtual |
The length of the ith output variable (it's a double array of this size)
Reimplemented in UCorrelator::CombinedSineSubtractFilter, UCorrelator::SineSubtractFilter, UCorrelator::AdaptiveFilterAbby, Acclaim::Filters::RayleighMonitor, and Acclaim::Filters::Notch.
Definition at line 40 of file FilterOperation.h.
|
inlinevirtual |
The name of the ith output variable
Reimplemented in UCorrelator::CombinedSineSubtractFilter, UCorrelator::SineSubtractFilter, UCorrelator::AdaptiveFilterAbby, Acclaim::Filters::RayleighMonitor, and Acclaim::Filters::Notch.
Definition at line 37 of file FilterOperation.h.
|
pure virtual |
operate on the FilteredAnitaEvent
Implemented in UCorrelator::CombinedSineSubtractFilter, UCorrelator::AdaptiveButterworthFilter, UCorrelator::AdaptiveMinimumPhaseFilter, UCorrelator::AdaptiveBrickWallFilter, AnitaResponse::DeconvolveFilter, UCorrelator::SineSubtractFilter, ALFAButterworthFilter, Acclaim::Filters::SpectrumMagnitude, UCorrelator::AdaptiveFilterAbby, ALFALanczosFilter, Acclaim::Filters::RayleighFilter, SumDifferenceFilter, Acclaim::Filters::RayleighMonitor, HybridFilter, UCorrelator::A3toA4ConversionFilter, ConditionalFilterOperation, Acclaim::Filters::Notch, ALFASincFilter, UCorrelator::timePadFilter, UniformFilterOperation, UCorrelator::AntiBH13Filter, GeometricFilter, and UCorrelator::BH13Filter.
|
pure virtual |
operate on one waveform (ABL added moved this from UniformFitlerOperation so that FilterStrategy could call its this on single waveforms, and the weird argument structure is just so it matches ad sinsub)
Implemented in UCorrelator::CombinedSineSubtractFilter, UCorrelator::AdaptiveButterworthFilter, UCorrelator::AdaptiveMinimumPhaseFilter, IFFTDiffFilter, UCorrelator::AdaptiveBrickWallFilter, AnitaResponse::DeconvolveFilter, UCorrelator::SineSubtractFilter, DeglitchFilter, Acclaim::Filters::UniformMagnitude, ALFAButterworthFilter, UCorrelator::AdaptiveFilterAbby, ALFALanczosFilter, DigitalFilterOperation, UCorrelator::ComplicatedNotchFilter, HybridFilter, Acclaim::Filters::RayleighMonitor, UCorrelator::A3toA4ConversionFilter, ConditionalFilterOperation, ALFASincFilter, Acclaim::Filters::Notch, SimpleNotchFilter, UniformFilterOperation, UCorrelator::AntiBH13Filter, SimplePassBandFilter, GeometricFilter, UCorrelator::BH13Filter, GaussianTaper, and DiodeFilter.
|
pure virtual |
short name for operation, will be used for output tree name, if there is one
Implemented in UCorrelator::CombinedSineSubtractFilter, UCorrelator::AdaptiveButterworthFilter, UCorrelator::AdaptiveMinimumPhaseFilter, IFFTDiffFilter, UCorrelator::AdaptiveBrickWallFilter, AnitaResponse::DeconvolveFilter, UCorrelator::SineSubtractFilter, DeglitchFilter, Acclaim::Filters::UniformMagnitude, ALFAButterworthFilter, Acclaim::Filters::SpectrumMagnitude, UCorrelator::AdaptiveFilterAbby, ALFALanczosFilter, Acclaim::Filters::RayleighFilter, DigitalFilterOperation, UCorrelator::ComplicatedNotchFilter, SumDifferenceFilter, HybridFilter, Acclaim::Filters::RayleighMonitor, ALFASincFilter, UCorrelator::A3toA4ConversionFilter, ConditionalFilterOperation, Acclaim::Filters::Notch, UCorrelator::timePadFilter, SimpleNotchFilter, UCorrelator::AntiBH13Filter, GeometricFilter, SimplePassBandFilter, UCorrelator::BH13Filter, DiodeFilter, and GaussianTaper.