BlockEdfSignalRaste​rView

Create a raster plot from signals stored in an EDF file

您现在正在关注此提交

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. (2026). BlockEdfSignalRasterView (https://ww2.mathworks.cn/matlabcentral/fileexchange/46366-blockedfsignalrasterview), MATLAB Central File Exchange. 检索时间: .

致谢

参考作品: saveppt2, blockEdfLoad

类别

Help CenterMATLAB Answers 中查找有关 EEG/MEG/ECoG 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.1.0.0

Acknowledged previous File Exchange submission file included in release

1.0.0.0