|
|
@ -1,3 +1,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __FILTER_BUTTER_H__ |
|
|
|
|
|
|
|
#define __FILTER_BUTTER_H__ |
|
|
|
|
|
|
|
|
|
|
|
template <typename Coefficients> |
|
|
|
template <typename Coefficients> |
|
|
|
class Butter2 |
|
|
|
class Butter2 |
|
|
|
{ |
|
|
|
{ |
|
|
@ -100,4 +104,6 @@ struct butter50_8_coeffs |
|
|
|
static const float GAIN = 6.881181354e+00; |
|
|
|
static const float GAIN = 6.881181354e+00; |
|
|
|
}; |
|
|
|
}; |
|
|
|
typedef Butter2<butter50_8_coeffs> butter50hz8_0; //50hz sample, 8hz fcut
|
|
|
|
typedef Butter2<butter50_8_coeffs> butter50hz8_0; //50hz sample, 8hz fcut
|
|
|
|
typedef Butter2<butter50_8_coeffs> butter10hz1_6; //10hz sample, 1.6hz fcut
|
|
|
|
typedef Butter2<butter50_8_coeffs> butter10hz1_6; //10hz sample, 1.6hz fcut
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // __FILTER_BUTTER_H__
|
|
|
|