28 #ifndef SCIMATH_SIMBUTTERWORTHBANDPASS_H
29 #define SCIMATH_SIMBUTTERWORTHBANDPASS_H
39 template<
class T>
class Vector;
150 const T &mincut=T(-1),
const T &maxcut=T(1),
151 const T ¢er=T(0),
const T &peak=T(1));
156 T mincut=T(-1), T maxcut=T(1),
157 T center=T(0), T peak=T(1));
269 #ifndef CASACORE_NO_AUTO_TEMPLATES
270 #include <casacore/scimath/Functionals/SimButterworthBandpass.tcc>
271 #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".
std::vector< double > Vector
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.
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 ...
T ArgType
Type for arguments.
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.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.