pub struct EasyReader { /* private fields */ }Expand description
Struct representing a reader for EEG data stored in .easy files.
This struct is responsible for parsing and storing the data from a .easy file,
which may include EEG signals, accelerometer data, and associated markers. The struct
loads the data from .easy and .easy.gz and optional .info files, provides methods for
accessing the data, and tracks relevant metadata about the file, including the
start date and number of channels.
Implementations§
Source§impl EasyReader
impl EasyReader
Sourcepub fn new(filepath: &str, verbose: bool) -> Result<Self>
pub fn new(filepath: &str, verbose: bool) -> Result<Self>
Initializes a new EasyReader instance from the given file path.
Sourcepub fn print_summary(&self)
pub fn print_summary(&self)
Prints a summary of the EasyReader instance, displaying important metadata and previews of data.
This function outputs the file path, base name, extension, number of channels, EEG start date, and any log entries related to the processing steps. It also prints the first few rows of the EEG, accelerometer, and markers data, if available. This method avoids printing the entire datasets.