Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
butterworth.hpp File Reference
#include <array>
#include <cmath>
#include <complex>
#include <cstdint>
#include "modm/math/geometry/angle.hpp"
Include dependency graph for butterworth.hpp:

Go to the source code of this file.

Classes

class  tap::algorithms::Butterworth< ORDER, Type, T >
 

Namespaces

namespace  tap
 
namespace  tap::algorithms
 

Enumerations

enum  tap::algorithms::FilterType : uint8_t { tap::algorithms::LOWPASS = 0b00 , tap::algorithms::HIGHPASS = 0b01 , tap::algorithms::BANDPASS = 0b10 , tap::algorithms::BANDSTOP = 0b11 }
 

Functions

constexpr std::complex< double > tap::algorithms::s2z (std::complex< double > s, double Ts)
 
template<uint8_t ORDER>
constexpr std::array< double, ORDER+1 > tap::algorithms::expandPolynomial (std::array< std::complex< double >, ORDER > zeros)
 
template<uint8_t ORDER>
constexpr std::complex< double > tap::algorithms::evaluateFrequencyResponse (const std::array< double, ORDER+1 > &b, const std::array< double, ORDER+1 > &a, double w, double Ts)
 
constexpr double tap::algorithms::complex_abs (std::complex< double > z)
 
constexpr std::complex< double > tap::algorithms::complex_sqrt (std::complex< double > z)