OpenWalnut
1.5.0dev
|
Class which contains information about one channel of an EEG recording, read from a WPagerEEG. More...
#include <WEEGChannelInfo.h>
Public Member Functions | |
WEEGChannelInfo (std::size_t channelID, std::shared_ptr< WPagerEEG > pager, std::shared_ptr< WEEGPositionsLibrary > positionsLibrary) | |
Constructor. More... | |
std::string | getUnit () const |
Get the unit used by the recording of the channel. More... | |
std::string | getLabel () const |
Get the label of the channel. More... | |
WPosition | getPosition () const |
Get the position of the electrode. More... | |
Private Attributes | |
std::string | m_unit |
unit used by the recording of the channel More... | |
std::string | m_label |
label of the channel More... | |
bool | m_hasPosition |
whether there is a valid position for this electrode More... | |
WPosition | m_position |
position of the electrode More... | |
Class which contains information about one channel of an EEG recording, read from a WPagerEEG.
Definition at line 45 of file WEEGChannelInfo.h.
WEEGChannelInfo::WEEGChannelInfo | ( | std::size_t | channelID, |
std::shared_ptr< WPagerEEG > | pager, | ||
std::shared_ptr< WEEGPositionsLibrary > | positionsLibrary | ||
) |
Constructor.
channelID | number of this channel |
pager | pager class which contains the data, read from a file on demand |
positionsLibrary | class which contains the positions of the electrodes |
Definition at line 39 of file WEEGChannelInfo.cpp.
References m_hasPosition, m_label, m_position, and m_unit.
std::string WEEGChannelInfo::getLabel | ( | ) | const |
Get the label of the channel.
Definition at line 79 of file WEEGChannelInfo.cpp.
References m_label.
WPosition WEEGChannelInfo::getPosition | ( | ) | const |
Get the position of the electrode.
Definition at line 84 of file WEEGChannelInfo.cpp.
References m_hasPosition, and m_position.
std::string WEEGChannelInfo::getUnit | ( | ) | const |
Get the unit used by the recording of the channel.
Definition at line 74 of file WEEGChannelInfo.cpp.
References m_unit.
|
private |
whether there is a valid position for this electrode
Definition at line 86 of file WEEGChannelInfo.h.
Referenced by getPosition(), and WEEGChannelInfo().
|
private |
label of the channel
Definition at line 85 of file WEEGChannelInfo.h.
Referenced by getLabel(), and WEEGChannelInfo().
|
private |
position of the electrode
Definition at line 87 of file WEEGChannelInfo.h.
Referenced by getPosition(), and WEEGChannelInfo().
|
private |
unit used by the recording of the channel
Definition at line 84 of file WEEGChannelInfo.h.
Referenced by getUnit(), and WEEGChannelInfo().