Demo issue while ECG delineation with MatLab 2016a on Windows 7

52 views
Skip to first unread message

Radoslav Peev

unread,
Aug 3, 2017, 12:23:42 PM8/3/17
to ecg-kit users
hi Mariano,

I had some errors while "ECG delineation" on on of the demo files.

for QRS I used Wevedet.

###################################################################################################
# More than one signal in C:\ML\ecg-kit-master\recordings\ecg_hl7.xml. Reading only the first one #
###################################################################################################

Error report:
Index exceeds matrix dimensions.

Error in trim_ECG_header (line 32)
           ECG_header.(fname{1}) = aux_val(ECG_idx,:);

AND


Undefined function or variable 'aux_RR_filt'.

Error in QRScorrector/Redraw (line 773)
        RRserie_filt(1) = {aux_RR_filt};


QRScorrector.m:         [aux_RR, aux_RR_filt ] = RR_calculation(anns_under_edition, ECG_struct.header.freq, RRserie_filt{1});
QRScorrector.m:        RRserie_filt(1) = {aux_RR_filt};


Should I stage the git to stable state or this is known issues - because second one is access of missing function.

I did't found any solution for RR_calculation() for now.

Mariano Llamedo Soria

unread,
Aug 3, 2017, 2:35:05 PM8/3/17
to Radoslav Peev, ecg-kit users
Hi Rado, please tell me what commands or scripts are you issuing in order to reproduce the error.

Best,
M.

--
You received this message because you are subscribed to the Google Groups "ecg-kit users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ecg-kit-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ecg-kit-users/8e377195-f6e9-450a-a184-dd73cad35a56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Radoslav Peev

unread,
Aug 5, 2017, 8:16:37 AM8/5/17
to ecg-kit users, rad...@gmail.com
well, I try to deploy the last version from git repo and there is no such an error there but also there is nothing in the ecg_hl7_ECG_delineation.mat

What I have done is to remain only the xml recording in the folder and change the qrs to Wavedet in both cases. 

Finally I reproduce it on the server where I have git

I clone the latest version, remove all records instead xml one, set the wevedet in examples,m, GIT checkout last but not one commit pro 3 jul
> git checkout 8cf49c34ee3d329f56db8e9930b759b2b3d016e3

and then I reproduce the problem. 

So the last commit probably fix the nan Matrix return but make some issues with wavedet delineation.

Radoslav Peev

unread,
Aug 5, 2017, 8:19:48 AM8/5/17
to ecg-kit users, rad...@gmail.com

this is the snapshot.

After this error GUI remain on gray background only.


but the ecg_hl7_ECG_delineation.mat is full with data.


Mariano Llamedo Soria

unread,
Aug 7, 2017, 8:52:14 AM8/7/17
to Radoslav Peev, ecg-kit users
Thanks for reporting Rado, I recently made some enhancements in the QRScorrector, and the delineator probably was not updated properly, let me check and correct the bugs.

Best,
Mariano.

--
You received this message because you are subscribed to the Google Groups "ecg-kit users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ecg-kit-users+unsubscribe@googlegroups.com.

Shira

unread,
Aug 5, 2018, 3:28:17 AM8/5/18
to ecg-kit users
Hi,

Any update on this?

I get:
 + Task name: ECG_delineation_corrector                                                                                                 

Undefined function or variable 'aux_RR_filt'.

Error in QRScorrector/Redraw (line 779)
        RRserie_filt(1) = {aux_RR_filt};

Error in QRScorrector/DoRecording (line 657)
        Redraw();

Error in QRScorrector (line 474)
    DoRecording();

Thanks!


On Monday, August 7, 2017 at 3:52:14 PM UTC+3, marianux wrote:
Thanks for reporting Rado, I recently made some enhancements in the QRScorrector, and the delineator probably was not updated properly, let me check and correct the bugs.

Best,
Mariano.
2017-08-05 9:19 GMT-03:00 Radoslav Peev <rad...@gmail.com>:

this is the snapshot.

After this error GUI remain on gray background only.


but the ecg_hl7_ECG_delineation.mat is full with data.


--
You received this message because you are subscribed to the Google Groups "ecg-kit users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ecg-kit-user...@googlegroups.com.

shira....@mail.huji.ac.il

unread,
Aug 5, 2018, 3:28:48 AM8/5/18
to ecg-kit users
(Running the examples() on a fresh installation on matlab 2018a, Windows 10)

Mariano Llamedo Soria

unread,
Aug 6, 2018, 9:16:20 AM8/6/18
to shira....@mail.huji.ac.il, ecg-kit users
Hi Shira, I guess you are having trouble with the "Delineation correction task", this task was unmantained for a while, and the time-series handling is a bit obsolete in these functions. I decided to remove the use of this task in the example routine. Do a git pull to update your repository and check again.

Best,
Mariano.

Reply all
Reply to author
Forward
0 new messages