25 #ifndef WEEG2SEGMENT_H
26 #define WEEG2SEGMENT_H
32 #include "WEEGValueMatrix.h"
33 #include "io/WPagerEEG.h"
51 WEEG2Segment( std::size_t segmentID, std::shared_ptr< WPagerEEG > pager );
67 std::shared_ptr< WEEGValueMatrix >
getValues( std::size_t start, std::size_t length )
const;
Class which contains one segment of an EEG recording, read from a WPagerEEG.
WEEG2Segment(std::size_t segmentID, std::shared_ptr< WPagerEEG > pager)
Constructor.
std::size_t m_nbSamples
number of samples this segment consists of
std::size_t getNumberOfSamples() const
Get the number of samples this segment consists of.
std::shared_ptr< WPagerEEG > m_pager
pager class which contains the data, read from a file on demand
std::size_t m_segmentID
number of this segment
std::shared_ptr< WEEGValueMatrix > getValues(std::size_t start, std::size_t length) const
Get the values of all channels for a given sample range.