28 #ifndef SCIMATH_SIMBUTTERWORTHBANDPASS_H
29 #define SCIMATH_SIMBUTTERWORTHBANDPASS_H
148 const T &mincut=T(-1),
const T &maxcut=T(1),
149 const T ¢er=T(0),
const T &peak=T(1));
154 T mincut=T(-1), T maxcut=T(1),
155 T center=T(0), T peak=T(1));
267 #ifndef CASACORE_NO_AUTO_TEMPLATES
268 #include <casacore/scimath/Functionals/SimButterworthBandpass.tcc>
269 #endif //# CASACORE_NO_AUTO_TEMPLATES
FunctionParam< T > param_p
The parameters and masks.
virtual T eval(const typename FunctionTraits< T >::ArgType *x) const
Evaluate the bandpass at "x".
void setMinCutoff(const T &x)
set the characteristic minimum (high-pass) cutoff value.
uInt getMinOrder() const
return the order of the Butterworth function for the minimum (high-pass) portion of the bandpass ...
const T & getCenter() const
return the center of the bandpass.
virtual Bool hasMode() const
return True if the implementing function supports a mode.
SimButterworthBandpass< T > & operator=(const SimButterworthBandpass< T > &other)
copy(deep) another Butterworth function
const T & getMinCutoff() const
return the characteristic minimum (high-pass) cutoff value.
void setPeak(T val)
set the scale of the function by setting its peak value.
virtual void setMode(const RecordInterface &mode)
get/set the function mode.
void setMaxOrder(uInt order)
set the order of the Butterworth function for the maximum (low-pass) portion of the bandpass ...
const T & getMaxCutoff() const
return the characteristic maximum (low-pass) cutoff value.
a class for evaluating a Butterworth filter transfer function.
bool Bool
Define the standard types used by Casacore.
Class that computes partial derivatives by automatic differentiation.
SimButterworthBandpass()
create a zero-th order (all-pass) Butterworth bandpass function.
virtual ~SimButterworthBandpass()
Destructor.
void setMinOrder(uInt order)
set the order of the Butterworth function for the minimum (high-pass) portion of the bandpass ...
virtual void getMode(RecordInterface &mode) const
Numerical functional interface class for 1 dimension.
const T & getPeak() const
return the scale of the function
uInt getMaxOrder() const
return the order of the Butterworth function for the maximum (low-pass) portion of the bandpass ...
Abstract base class for Record classes.
void setCenter(const T &x)
set the center of the bandpass.
virtual Function< T > * clone() const
clone this function
void setMaxCutoff(const T &x)
set the characteristic maximum (low-pass) cutoff value.