Browse Source

Butter filter: needs header guards

mission-4.1.18
Pat Hickey 12 years ago
parent
commit
53ea7c564e
  1. 8
      libraries/Filter/Butter.h

8
libraries/Filter/Butter.h

@ -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__

Loading…
Cancel
Save