Start by getting a few things: The necessary data files: slp01a. Say that we want to do some EEG processing on the slp01a record. sleep stage 4) and the point in time in which it occurs (e.g. Even something as simple as loading a polysomnographic record and its annotations into MATLAB for processing was not a simple task, so here is a guide for future reference. > physicaleeg = s(:,3) Loading the annotations > addpath('path/to/toolbox/mcode') > physicaleeg = (raweeg-eegbase)/eggain Īlternative 2, using the toolbox: > addpath('path/to/toolbox/mcode') > eeggain = -6430 % Value taken from slp01am.hea > eegbase = 0 % Value taken from slp01am.hea Alterative 1: > m = matfile('slp01am.mat') These can then be used for loading the data into MATLAB. Slp01a.dat slp01a.hea slp01am.hea slp01am.mat slp01a.st With the WFDB software package installed, use wfdb2mat to generate a slp01am.mat and a slp01am.hea from your. slp01a.dat: Signal file containing the EEG, ECG, blood pressure and Resp signals.Say that we want to do some EEG processing on the slp01a record. Start by getting a few things: Even something as simple as loading a polysomnographic record and its annotations into MATLAB for processing was not a simple task, so here is a guide for future reference.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |