AwCore
AnyWave core library
AwFilteringOptions.h
1 //
3 // Université d’Aix Marseille (AMU) -
4 // Institut National de la Santé et de la Recherche Médicale (INSERM)
5 // Copyright © 2013 AMU, INSERM
6 //
7 // This library is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU Lesser General Public
9 // License as published by the Free Software Foundation; either
10 // version 3 of the License, or (at your option) any later version.
11 //
12 // This library is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 // Lesser General Public License for more details.
16 //
17 // You should have received a copy of the GNU Lesser General Public
18 // License along with this library; if not, write to the Free Software
19 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 //
21 //
22 //
23 // Author: Bruno Colombet – Laboratoire UMR INS INSERM 1106 - Bruno.Colombet@univ-amu.fr
24 //
26 #ifndef AWFILTERINGOPTIONS_H
27 #define AWFILTERINGOPTIONS_H
28 
31 
32 typedef struct
33 {
34  float high;
35  float low;
37 
50 {
51 public:
54  void setEEGFilters(float l, float h);
56  void setMEGFilters(float l, float h);
58  void setEMGFilters(float l, float h);
60  inline float EEGHigh() { return m_eegFilters.high; }
62  inline float EEGLow() { return m_eegFilters.low; }
64  inline float MEGHigh() { return m_megFilters.high; }
66  inline float MEGLow() { return m_megFilters.low; }
68  inline float EMGHigh() { return m_emgFilters.high; }
70  inline float EMGLow() { return m_emgFilters.low; }
71 protected:
72  AwChannelFiltersStruct m_eegFilters;
73  AwChannelFiltersStruct m_megFilters;
74  AwChannelFiltersStruct m_emgFilters;
75 };
76 #endif
float EMGLow()
Definition: AwFilteringOptions.h:70
This class defines the filtering options for the different types of channels that AnyWave can filter...
Definition: AwFilteringOptions.h:49
float EEGHigh()
Definition: AwFilteringOptions.h:60
float EEGLow()
Definition: AwFilteringOptions.h:62
void setEEGFilters(float l, float h)
Definition: AwFilteringOptions.cpp:38
void setEMGFilters(float l, float h)
Definition: AwFilteringOptions.cpp:50
float MEGLow()
Definition: AwFilteringOptions.h:66
float MEGHigh()
Definition: AwFilteringOptions.h:64
float EMGHigh()
Definition: AwFilteringOptions.h:68
void setMEGFilters(float l, float h)
Definition: AwFilteringOptions.cpp:44
Definition: AwFilteringOptions.h:32