User Tools

Site Tools


heartbeats

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
heartbeats [2010/06/14 23:33] jochenheartbeats [2010/06/22 21:18] – added instruction on how to load a MAT file to this page also jochen
Line 8: Line 8:
 The [[xff]] IO reading class now supports reading the following formats: The [[xff]] IO reading class now supports reading the following formats:
   * ACQ (up until version <= 3.9.7)   * ACQ (up until version <= 3.9.7)
-  * TXT (use ''<nowiki>object = xff('*.ntt');</nowiki>'' to read!)+  * TXT (use ''<nowiki>object = xff('*.ntt');</nowiki>'' or ''<nowiki>object = xff(filename, 'ntt');</nowiki>'' to read!)
 and further formats might be added based on request and urgency. and further formats might be added based on request and urgency.
 +
 +In case the data is in a different format, you must ensure to first convert into one of the formats above or into a MAT file, which then can be read used like this:
 +
 +<code matlab heartbeats_readmat.m>% load a mat file (e.g. an ACQ->MAT converted file)
 +load HPS1344_session1_ECG.mat;
 + 
 +% create new NTT (used for methods on data!)
 +ntt = xff('new:ntt');
 + 
 +% store data from mat file in ntt
 +ntt.Data = data;</code>
  
 ===== Reference (help) ===== ===== Reference (help) =====
Line 29: Line 40:
          .freq      data frequency in Hz (default: 1000)          .freq      data frequency in Hz (default: 1000)
          .plot      plot mean +/- std estimate of signal (default: false)          .plot      plot mean +/- std estimate of signal (default: false)
 +         .plotfreq  samples per second to plot
          .plotwin   plot window size in seconds (default: 6)          .plotwin   plot window size in seconds (default: 6)
          .segsize   segmentation size in seconds (default: 5)          .segsize   segmentation size in seconds (default: 5)
          .segstep   stepping (window shift) in seconds (default: 1)          .segstep   stepping (window shift) in seconds (default: 1)
 +         .skewdt    skewness detection threshold multiplier (default: 0.5)
          .windsor   windsorizing threshold in std's (default: 3)          .windsor   windsorizing threshold in std's (default: 3)
    
heartbeats.txt · Last modified: 2010/06/29 17:17 by jochen