Abstract class to load an EEG file and keep it open to support paging.
More...
#include <WPagerEEG.h>
Abstract class to load an EEG file and keep it open to support paging.
Definition at line 40 of file WPagerEEG.h.
◆ ~WPagerEEG()
WPagerEEG::~WPagerEEG |
( |
| ) |
|
|
virtual |
◆ WPagerEEG()
WPagerEEG::WPagerEEG |
( |
std::string |
filename | ) |
|
|
explicitprotected |
Constructor.
- Parameters
-
filename | path and filename to the file to load |
Definition at line 46 of file WPagerEEG.cpp.
References m_filename.
◆ getChannelLabel()
virtual std::string WPagerEEG::getChannelLabel |
( |
std::size_t |
channelID | ) |
const |
|
pure virtual |
Get the label of a given channel.
- Parameters
-
- Returns
- label as string
◆ getChannelUnit()
virtual std::string WPagerEEG::getChannelUnit |
( |
std::size_t |
channelID | ) |
const |
|
pure virtual |
Get the unit used by the recording of a given channel.
- Parameters
-
- Returns
- unit as string
◆ getFilename()
std::string WPagerEEG::getFilename |
( |
| ) |
const |
◆ getFileName()
std::string WPagerEEG::getFileName |
( |
| ) |
const |
◆ getNumberOfChannels()
virtual std::size_t WPagerEEG::getNumberOfChannels |
( |
| ) |
const |
|
pure virtual |
Get the number of channels this EEG has.
- Returns
- number of channels
◆ getNumberOfSamples()
virtual std::size_t WPagerEEG::getNumberOfSamples |
( |
std::size_t |
segmentID | ) |
const |
|
pure virtual |
Get the number of samples of a given segment.
- Parameters
-
segmentID | segment number being inspected |
- Returns
- number of samples
◆ getNumberOfSegments()
virtual std::size_t WPagerEEG::getNumberOfSegments |
( |
| ) |
const |
|
pure virtual |
Get the number of segments this EEG consists of.
- Returns
- number of segments
◆ getSamplingRate()
virtual double WPagerEEG::getSamplingRate |
( |
| ) |
const |
|
pure virtual |
Get the sampling rate used by the recording.
- Returns
- sampling rate
◆ getValues()
virtual std::shared_ptr< WEEGValueMatrix > WPagerEEG::getValues |
( |
std::size_t |
segmentID, |
|
|
std::size_t |
start, |
|
|
std::size_t |
length |
|
) |
| const |
|
pure virtual |
Get the values of all channels for a given sample range.
- Parameters
-
segmentID | segment number to read the values from |
start | start sample of the sample range |
length | length of the sample range |
- Returns
- matrix of values
◆ m_filename
std::string WPagerEEG::m_filename |
|
private |
The documentation for this class was generated from the following files: