MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
mne_raw_buf_def.cpp
Go to the documentation of this file.
1//=============================================================================================================
37//=============================================================================================================
38// INCLUDES
39//=============================================================================================================
40
41#include "mne_raw_buf_def.h"
42
43#include <Eigen/Core>
44
45#define FREE_34(x) if ((char *)(x) != NULL) free((char *)(x))
46
47//=============================================================================================================
48// USED NAMESPACES
49//=============================================================================================================
50
51using namespace Eigen;
52using namespace FIFFLIB;
53using namespace MNELIB;
54
55//=============================================================================================================
56// DEFINE MEMBER METHODS
57//=============================================================================================================
58
62
63//=============================================================================================================
64
68
69//=============================================================================================================
70
71void MneRawBufDef::free_bufs(MneRawBufDef *bufs, int nbuf)
72
73{
74 int k;
75 for (k = 0; k < nbuf; k++) {
76 FREE_34(bufs[k].ch_filtered);
77 /*
78 * Clear the pointers only, not the data which are in the ringbuffer
79 */
80 FREE_34(bufs[k].vals);
81 }
82 FREE_34(bufs);
83}
int k
Definition fiff_tag.cpp:324
MneRawBufDef class declaration.
Information about raw data in fiff file.