28 #ifndef SCIMATH_SIMBUTTERWORTHBANDPASS_H
29 #define SCIMATH_SIMBUTTERWORTHBANDPASS_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Arrays/ArrayFwd.h>
34 #include <casacore/casa/Containers/Block.h>
35 #include <casacore/scimath/Functionals/Function1D.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>
T ArgType
Type for arguments.
FunctionParam< T > param_p
The parameters and masks.
virtual Bool hasMode() const
return True if the implementing function supports a mode.
const T & getPeak() const
return the scale of the function
SimButterworthBandpass(const uInt minord, const uInt maxord, const T &mincut=T(-1), const T &maxcut=T(1), const T ¢er=T(0), const T &peak=T(1))
create a Butterworth bandpass function.
void setMinCutoff(const T &x)
set the characteristic minimum (high-pass) cutoff value.
void setCenter(const T &x)
set the center of the bandpass.
void setMaxOrder(uInt order)
set the order of the Butterworth function for the maximum (low-pass) portion of the bandpass
void setMaxCutoff(const T &x)
set the characteristic maximum (low-pass) cutoff value.
SimButterworthBandpass(const RecordInterface &gr, T mincut=T(-1), T maxcut=T(1), T center=T(0), T peak=T(1))
create a fully specified Butterworth bandpass in which the low and high pass orders are stored in a R...
virtual void getMode(RecordInterface &mode) const
void setMinOrder(uInt order)
set the order of the Butterworth function for the minimum (high-pass) portion of the bandpass
SimButterworthBandpass()
create a zero-th order (all-pass) Butterworth bandpass function.
virtual T eval(const typename FunctionTraits< T >::ArgType *x) const
Evaluate the bandpass at "x".
const T & getMinCutoff() const
return the characteristic minimum (high-pass) cutoff value.
virtual ~SimButterworthBandpass()
Destructor.
const T & getCenter() const
return the center of the bandpass.
uInt getMinOrder() const
return the order of the Butterworth function for the minimum (high-pass) portion of the bandpass
void setPeak(T val)
set the scale of the function by setting its peak value.
const T & getMaxCutoff() const
return the characteristic maximum (low-pass) cutoff value.
SimButterworthBandpass< T > & operator=(const SimButterworthBandpass< T > &other)
copy(deep) another Butterworth function
virtual Function< T > * clone() const
clone this function
virtual void setMode(const RecordInterface &mode)
get/set the function mode.
SimButterworthBandpass(const SimButterworthBandpass &other)
create a copy of another Butterworth bandpass function
uInt getMaxOrder() const
return the order of the Butterworth function for the maximum (low-pass) portion of the bandpass
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.