Template Class Butterworth¶
Defined in File butterworth.hpp
Class Documentation¶
-
template<uint8_t ORDER, FilterType Type = LOWPASS, typename T = float>
class Butterworth¶ Public Functions
-
inline constexpr Butterworth(double wc, double Ts, double wh = 0.0)¶
- Parameters:
wc – [in] for LOW/HIGHPASS: cutoff ωc. for BANDPASS/BANDSTOP: lower edge ωl.
Ts – [in] sample time.
type – [in] filter type, LOWPASS, HIGHPASS, BANDPASS, BANDSTOP. defaults to LOWPASS.
wh – [in] upper edge ωh (only used for band filters).
-
inline std::array<T, COEFFICIENTS> getNaturalResponseCoefficients() const¶
-
inline std::array<T, COEFFICIENTS> getForcedResponseCoefficients() const¶
-
inline constexpr Butterworth(double wc, double Ts, double wh = 0.0)¶