Arduino Filters master
Filter library for Arduino
Modules | Classes | Typedefs | Functions
Arduino Filters

Detailed Description

Main module containing all filters and filter utilities.

+ Collaboration diagram for Arduino Filters:

Modules

 Filter Design
 Filter design tools.
 
 Filter Implementations
 Different implementations.
 

Classes

class  BiQuadFilterDF1< T >
 Generic BiQuad (Bi-Quadratic) filter class, Direct Form 1 implementation. More...
 
class  BiQuadFilterDF2< T >
 Generic BiQuad (Bi-Quadratic) filter class, Direct Form 2 implementation. More...
 
class  FIRFilter< N, T >
 Finite Impulse Response filter implementation. More...
 
class  IIRFilter< NB, NA, T >
 Generic Infinite Impulse Response filter class. More...
 
class  MedianFilter< N, T >
 Class for Median Filters. More...
 
class  SMA< N, input_t, sum_t >
 Simple Moving Average filter. More...
 
class  SOSFilter< T, N, Implementation >
 Second Order Sections filter. More...
 
struct  TransferFunction< NB, NA, T >
 Class for transfer function coefficients. More...
 

Typedefs

template<class T = float>
using BiQuadCoefficients = TransferFunction< 3, 3, T >
 BiQuadratic transfer function coefficients. More...
 
template<class T , size_t N>
using SOSCoefficients = AH::Array< BiQuadCoefficients< T >, N >
 

Functions

template<size_t NB, size_t NA, class T = float>
IIRFilter< NB, NA, T > makeIIRFilter (const TransferFunction< NB, NA, T > &tf)
 Create an IIRFilter from the given transfer function. More...
 
template<size_t NB, size_t NA, class T = float>
IIRFilter< NB, NA, T > makeIIRFilter (const AH::Array< T, NB > &b_coefficients, const AH::Array< T, NA > &a_coefficients)
 Create an IIRFilter from the given transfer function coefficients. More...
 

Typedef Documentation

◆ BiQuadCoefficients

BiQuadratic transfer function coefficients.

Definition at line 12 of file BiQuad.hpp.

◆ SOSCoefficients

using SOSCoefficients = AH::Array<BiQuadCoefficients<T>, N>

Definition at line 10 of file SOSFilter.hpp.

Function Documentation

◆ makeIIRFilter() [1/2]

IIRFilter< NB, NA, T > makeIIRFilter ( const TransferFunction< NB, NA, T > &  tf)

Create an IIRFilter from the given transfer function.

Definition at line 276 of file IIRFilter.hpp.

◆ makeIIRFilter() [2/2]

IIRFilter< NB, NA, T > makeIIRFilter ( const AH::Array< T, NB > &  b_coefficients,
const AH::Array< T, NA > &  a_coefficients 
)

Create an IIRFilter from the given transfer function coefficients.

Definition at line 282 of file IIRFilter.hpp.