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