BlockEdfSignalRaste​rView

Create a raster plot from signals stored in an EDF file
637.0 次下载
更新时间 2014/4/28

查看许可证

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

引用格式

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

MATLAB 版本兼容性
创建方式 R2013b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 EEG/MEG/ECoG 的更多信息
致谢

参考作品: saveppt2, blockEdfLoad

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Acknowledged previous File Exchange submission file included in release

1.0.0.0