Arduino Filters master
Filter library for Arduino
Classes | Typedefs | Functions
SOSFilter.hpp File Reference
#include <AH/Containers/ArrayHelpers.hpp>
#include <Filters/BiQuad.hpp>
+ Include dependency graph for SOSFilter.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SOSFilter< T, N, Implementation >
 Second Order Sections filter. More...
 

Typedefs

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

Functions

template<class T , size_t M, size_t N>
TransferFunction< M+N *2, M+N *2, T > sos2tf_helper (const TransferFunction< M, M, T > &tf, AH::ArraySlice< BiQuadCoefficients< T >, N, false, true > sos)
 
template<class T , size_t M>
TransferFunction< M+2, M+2, T > sos2tf_helper (const TransferFunction< M, M, T > &tf, AH::ArraySlice< BiQuadCoefficients< T >, 1, false, true > sos)
 
template<class T , size_t N>
TransferFunction< N *2+1, N *2+1, T > sos2tf (const SOSCoefficients< T, N > &sos)
 Convert Second Order Section (SOS) coefficients to an equivalent tranfer function representation. More...
 
template<class T >
TransferFunction< 3, 3, T > sos2tf (const SOSCoefficients< T, 1 > &sos)
 

Function Documentation

◆ sos2tf_helper() [1/2]

TransferFunction< M+N *2, M+N *2, T > sos2tf_helper ( const TransferFunction< M, M, T > &  tf,
AH::ArraySlice< BiQuadCoefficients< T >, N, false, true >  sos 
)

Definition at line 50 of file SOSFilter.hpp.

◆ sos2tf_helper() [2/2]

TransferFunction< M+2, M+2, T > sos2tf_helper ( const TransferFunction< M, M, T > &  tf,
AH::ArraySlice< BiQuadCoefficients< T >, 1, false, true >  sos 
)

Definition at line 61 of file SOSFilter.hpp.

◆ sos2tf()

TransferFunction< 3, 3, T > sos2tf ( const SOSCoefficients< T, 1 > &  sos)

Definition at line 81 of file SOSFilter.hpp.