forked from RTMilliken/EDFbrowser
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfilteredblockread.h
More file actions
54 lines (32 loc) · 797 Bytes
/
filteredblockread.h
File metadata and controls
54 lines (32 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#ifndef filteredblockread_INCLUDED
#define filteredblockread_INCLUDED
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "global.h"
#include "filter.h"
#include "spike_filter.h"
#include "ravg_filter.h"
#include "models/signalcompblock.h"
#include "third_party/fidlib/fidlib.h"
class FilteredBlockReadClass
{
private:
FILE *inputfile;
struct edfhdrblock *hdr;
struct signalcompblock *signalcomp;
int datarecord_cnt,
samples_per_datrec,
total_samples,
skip_filters;
char *readbuf;
double *processed_samples_buf,
bitvalue;
public:
double * init_signalcomp(struct signalcompblock *, int, int);
int process_signalcomp(int);
int samples_in_buf(void);
FilteredBlockReadClass();
~FilteredBlockReadClass();
};
#endif