BlockEdfSignalRaste​rView

Create a raster plot from signals stored in an EDF file
637 download
Aggiornato 28 apr 2014

Visualizza la licenza

Function creates a raster plot from signals stored in an EDF file. The x axis of the raster plot represents time and the y axis presents sequential time segments. The X axis duration and number of segments to display on the y axis options are predefined to values most likely to be used in sleep and circadian research. Grid lines corresponding to 30 second sleep epochs are automatically displayed. The function can be used to create figures and can be used to create power point summaries.
Function prototypes:
obj = BlockEdfSignalRasterView(fn|edfStruct, signalLabelCell)
obj = BlockEdfSignalRasterView(fn|edfStruct, signalLabelCell, opt)
obj = BlockEdfSignalRasterView(fn|edfStruct, signalLabelCell, opt, anote)

Setting Raster Properties:
The three most common adjustments required for generating signal raster plots are described below:

(1) Set x axis duration.The x axis duration is set by selecting an
index to the w array. The w array duration values are:

1, 2, 5, 10, 15, 20, 30 seconds
1, 2, 2.5, 3, 5, 10, 15, 20 30 40 45 minutes
1, 2, 3, 4, 6, 8, 12, 14 hours

example:
Setting obj.xAxisScale = 14; prior to creating figures or a
powerpoint will set the raster x axis to 15 minute

(2) Set number of segments to display. The number of segments is
set by indexing numSignalsPerPage. The numSignalsPerPage values are:[1 2 3 4 5 6 10 12 20 24 30 60]

example:
Setting obj.numSignalsPerPageIndex = 8; prior to creating figures or a
PowerPoint will set the number of segments displayed to 12.

(3) Change signal scale. Set signalDisplayGain to adjust signal
scaling. Values between .2 and 8 generally work best.

Additional Information and test data can be found at:
https://github.com/DennisDean/BlockEdfSignalRasterView
https://sleepdata.org/

output example: https://github.com/DennisDean/BlockEdfSignalRasterView/releases

Acknowledgements:

Program uses saveppt2.m to generate MS PowerPoint files.
http://www.mathworks.com/matlabcentral/fileexchange/19322-saveppt2

Cita come

Dennis A. Dean, II, Ph.D. (2024). BlockEdfSignalRasterView (https://www.mathworks.com/matlabcentral/fileexchange/46366-blockedfsignalrasterview), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2013b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su EEG/MEG/ECoG in Help Center e MATLAB Answers
Riconoscimenti

Ispirato da: saveppt2, blockEdfLoad

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.1.0.0

Acknowledged previous File Exchange submission file included in release

1.0.0.0