All Classes Namespaces Files Functions Variables Typedefs Macros
clizThirdParty.h
Go to the documentation of this file.
1 // clizThirdParty.h - Functions and libraries from third parties
2 
3 // Copyright (C) various authors
4 
5 //Functions and libraries from third parties included in the ClusterLizard library
6 
7 #pragma once
8 #ifndef _INCLUDE_CLIZTHIRDPARTY
9 #define _INCLUDE_CLIZTHIRDPARTY
10 
11 //C and C++ standard libraries
12 #define _USE_MATH_DEFINES
13 #include <stdio.h>
14 #include <iostream>
15 #include <string>
16 #include <vector>
17 #include <valarray>
18 #include <fstream>
19 #include <stdlib.h>
20 #include <map>
21 #include <math.h>
22 #include <stdint.h>
23 #include <algorithm>
24 #include <complex>
25 #include <cmath>
26 #include <iomanip>
27 #include <limits>
28 #include <time.h>
29 #include <fcntl.h>
30 #include <ctype.h>
31 
32 //BOOST thread library for multi-threading
33 #include <boost\thread.hpp>
34 
35 //Digital signal processing filter library for elliptic filters
36 #include <DspFilters\Dsp.h>
37 
38 //Include armadillo for matrix operations
39 #include <armadillo>
40 
42 // Continuous Sampling Datatypes by Neuralynx
44 
45 const int MAX_CSC_SAMPLES = 512;
46 
47 
48 // a CSCAcqEnt record for EEG data
49 struct CRRec {
50  unsigned __int64 qwTimeStamp; // TS
51  unsigned __int32 dwChannelNum; // Channel number
52  unsigned __int32 dwSampleFreq; // freq in hertz of sampling rate
53  unsigned __int32 dwNumValidSamples; // number of snSamples containing useful data
54  signed __int16 snSamples[MAX_CSC_SAMPLES]; // the A-D data samples
55 };
56 
57 
58 
59 
60 
61 #endif
unsigned __int64 qwTimeStamp
Definition: clizThirdParty.h:50
const int MAX_CSC_SAMPLES
Definition: clizThirdParty.h:45
signed __int16 snSamples[MAX_CSC_SAMPLES]
Definition: clizThirdParty.h:54
unsigned __int32 dwChannelNum
Definition: clizThirdParty.h:51
unsigned __int32 dwSampleFreq
Definition: clizThirdParty.h:52
unsigned __int32 dwNumValidSamples
Definition: clizThirdParty.h:53
Definition: clizThirdParty.h:49