Differences

This shows you the differences between two versions of the page.

Link to this comparison view

reference:ft_realtime_heartbeatdetect [2018/08/23 14:43] (current)
Line 1: Line 1:
 +=====  FT_REALTIME_HEARTBEATDETECT =====
 +
 +Note that this reference documentation is identical to the help that is displayed in MATLAB when you type "help ft_realtime_heartbeatdetect"​.
 +
 +<​html><​pre>​
 +  <a href=/​reference/​ft_realtime_heartbeatdetect><​font color=green>​FT_REALTIME_HEARTBEATDETECT</​font></​a>​ is an example realtime application for online
 +  detection of heart beats. It should work both for EEG and MEG.
 + 
 +  Use as
 +    ft_realtime_heartbeatdetect(cfg)
 +  with the following configuration options
 +    cfg.blocksize ​ = number, size of the blocks/​chuncks that are processed (default = 1 second)
 +    cfg.channel ​   = cell-array, see <a href=/​reference/​ft_channelselection><​font color=green>​FT_CHANNELSELECTION</​font></​a>​ (default = '​all'​)
 +    cfg.jumptoeof ​ = whether to skip to the end of the stream/file at startup (default = '​yes'​)
 +    cfg.bufferdata = whether to start on the 'first or '​last'​ data that is available (default = '​first'​)
 +    cfg.threshold ​ = value, after normalization (default = 3)
 + 
 +  The source of the data is configured as
 +    cfg.dataset ​      = string
 +  or alternatively to obtain more low-level control as
 +    cfg.datafile ​     = string
 +    cfg.headerfile ​   = string
 +    cfg.eventfile ​    = string
 +    cfg.dataformat ​   = string, default is determined automatic
 +    cfg.headerformat ​ = string, default is determined automatic
 +    cfg.eventformat ​  = string, default is determined automatic
 + 
 +  To stop the realtime function, you have to press Ctrl-C
 +</​pre></​html>​