We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcff2f3 commit 48acdc0Copy full SHA for 48acdc0
src/components/filters.tsx
@@ -62,7 +62,7 @@ export class EXGFilter {
62
case "fourteen":
63
case "twelve": // 500Hz
64
switch (type) {
65
- case 1: - this.bitsPoints / 2// ECG Sampling rate: 500.0 Hz, frequency: 30.0 Hz.
+ case 1: // ECG Sampling rate: 500.0 Hz, frequency: 30.0 Hz.
66
// Filter is order 2, implemented as second-order sections (biquads).
67
this.x1 = output - (-1.47548044 * this.z1) - (0.58691951 * this.z2);
68
output = 0.02785977 * this.x1 + 0.05571953 * this.z1 + 0.02785977 * this.z2;
0 commit comments