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 revision Previous revision
Last revision Both sides next revision
heartbeats [2010/06/15 06:28]
jochen added the second parameter-for-known filename case
heartbeats [2010/06/22 23:18]
jochen added instruction on how to load a MAT file to this page also
Line 10: Line 10:
   * TXT (use ''<​nowiki>​object = xff('​*.ntt'​);</​nowiki>''​ or ''<​nowiki>​object = xff(filename,​ '​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) =====
heartbeats.txt ยท Last modified: 2010/06/29 19:17 by jochen