26#ifndef SCIMATH_SIMBUTTERWORTHBANDPASS_H
27#define SCIMATH_SIMBUTTERWORTHBANDPASS_H
30#include <casacore/casa/aips.h>
31#include <casacore/casa/Arrays/ArrayFwd.h>
32#include <casacore/casa/Containers/Block.h>
33#include <casacore/scimath/Functionals/Function1D.h>
146 const T &mincut=T(-1),
const T &maxcut=T(1),
147 const T ¢er=T(0),
const T &peak=T(1));
152 T mincut=T(-1), T maxcut=T(1),
153 T center=T(0), T peak=T(1));
265#ifndef CASACORE_NO_AUTO_TEMPLATES
266#include <casacore/scimath/Functionals/SimButterworthBandpass.tcc>
Function1D()
Constructors.
T ArgType
Type for arguments.
FunctionParam< T > param_p
virtual Bool hasMode() const
return True if the implementing function supports a mode.
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.
const T & getMaxCutoff() const
return the characteristic maximum (low-pass) cutoff value.
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.
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.
void setPeak(T val)
set the scale of the function by setting its peak value.
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
const T & getPeak() const
return the scale of the function
SimButterworthBandpass< T > & operator=(const SimButterworthBandpass< T > &other)
copy(deep) another Butterworth 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
uInt order() const
What is the order of the polynomial, i.e.
RecordInterface()
The default constructor creates an empty record with a variable structure.
bool Bool
Define the standard types used by Casacore.