Differences

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

Link to this comparison view

reference:ft_realtime_topography [2018/08/23 14:43] (current)
Line 1: Line 1:
 +=====  FT_REALTIME_TOPOGRAPHY =====
 +
 +Note that this reference documentation is identical to the help that is displayed in MATLAB when you type "help ft_realtime_topography"​.
 +
 +<​html><​pre>​
 +  <a href=/​reference/​ft_realtime_topography><​font color=green>​FT_REALTIME_TOPOGRAPHY</​font></​a>​ reads continuous data from a file or from a data stream,
 +  estimates the power and plots the scalp topography in real time.
 + 
 +  Use as
 +    ft_realtime_topography(cfg)
 +  with the following configuration options
 +    cfg.blocksize ​           = number, size of the blocks/​chuncks that are processed (default = 1 second)
 +    cfg.overlap ​             = number, amojunt of overlap between chunks (default = 0 seconds)
 +    cfg.layout ​              = specification of the layout, see <a href=/​reference/​ft_prepare_layout><​font color=green>​FT_PREPARE_LAYOUT</​font></​a>​
 + 
 +  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 this realtime function, you have to press Ctrl-C
 + 
 +  Example use
 +    cfg           = [];
 +    cfg.dataset ​  = '​PW02_ingnie_20061212_01.ds';​
 +    cfg.layout ​   = '​CTF151.lay';​
 +    cfg.channel ​  = '​MEG';​
 +    cfg.blocksize = 0.5;
 +    cfg.overlap ​  = 0.25;
 +    cfg.demean ​   = '​yes';​
 +    cfg.bpfilter ​ = [15 25];
 +    cfg.bpfreq ​   = '​yes';​
 +    ft_realtime_topography(cfg);​
 +</​pre></​html>​