wfdb-app-toolbox
wfdb-app-toolbox copied to clipboard
Annotation Out of Sync
What steps will reproduce the problem?
When I am loading data in Matlab using the WFDB Toolbox for Matlab, a lot of
annotations don’t show up at all, whereas they show up using LightWave. The
script I use only changes the record name, extension, and N from the wfdbdemo
script:
[~,config]=wfdbloadlib;
N=100000;
[tm,ecg]=rdsamp('mghdb/mgh001',[],N);
[ann,type,subtype,chan,num]=rdann('mghdb/mgh001','ari',1,N);
plot(tm,ecg(:,1));hold on;grid on
plot(tm(ann),ecg(ann,1),'ro');
Also, it appears that some annotations are significantly off, see this link:
http://physionet.org/lightwave/?db=mghdb&record=mgh001&t0=02:09
What is the expected output? What do you see instead?
Please use labels and text to provide additional information.
Original issue reported on code.google.com by [email protected]
on 15 Aug 2014 at 2:18