Running longer recording

30 views
Skip to first unread message

preethik...@gmail.com

unread,
Aug 20, 2018, 1:45:30 AM8/20/18
to ecg-kit users
I am using the Matlab second example to run a longer recording (30min) from Physionet MIT BIH database. When I look at the mat files I see only a smaller file.

Anyone on this forum, who can tell me how I can save the entire result for 30 minutes.

Thanks,
Preethi

Mariano Llamedo Soria

unread,
Aug 21, 2018, 8:01:49 AM8/21/18
to Preethi Krishnan, ecg-kit users
Dear Preethi, please attach an example of what you are trying to do in order to reproduce your problem, the output you obtain (command window, screen capture, etc), and your installation details.


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-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ecg-kit-users/7c547164-a246-4f68-a493-4e2bdf4cf075%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

preethik...@gmail.com

unread,
Aug 24, 2018, 5:56:11 PM8/24/18
to ecg-kit users

Capture_physionet_201_file.PNG

Capture_ecgkit_mat_file_1_1st_example.PNG

Capture_ecgkit_mat_file_1_2nd_example.PNG

Capture_ecgkit_mat_file_2_2nd_example.PNG

Thank you for your response. I read the documentation and I hope I did not miss anything.

I am running the same file 201m.mat using 1st example and 2nd example. I saw that the mat files for 2nd example is smaller. I am using Matlab 2018a version. Please see attached screenshot for data and results. I am unable to attach text files, so I will copy paste the command window results below .


Running 1st example on Matlab - 

Description of the process:
 + Recording: C:\Users\preet\Downloads\ecg-kit-0.1.6\ecg-kit-0.1.6\recordings\201m.hea
 + Task name: QRS_detection                                                                  

Processing QRS detector gqrs
Processing QRS detector pantom
......
......
Processing QRS detector wavedet
No multilead strategy used, instead using the delineation of lead MLII.
Processing QRS detector wqrs

#####################################################
# wqrs failed in recording 201m_1_650000 lead  MLII #
#####################################################


#####################################################
# wqrs failed in recording 201m_1_650000 lead  V1   #
#####################################################


##############
# Work done! #
##############


Results saved in
 + C:\Users\preet\Downloads\ecg-kit-0.1.6\ecg-kit-0.1.6\recordings\201m_my_experiment_name_QRS_detection.mat


Description of the process:
 + Recording: C:\Users\preet\Downloads\ecg-kit-0.1.6\ecg-kit-0.1.6\recordings\201m.hea
 + Task name: PPG_ABP_detector                                                               

Could not find any PPG/ABP signal, check the lead description of the recording:
 +  MLII
 +  V1  

Requirements not satisfied in C:\Users\preet\Downloads\ecg-kit-0.1.6\ecg-kit-0.1.6\recordings\201m.hea for task PPG_ABP_detector.

######################
# Nothing to do here #
######################


ans =

     []


Description of the process:
 + Recording: C:\Users\preet\Downloads\ecg-kit-0.1.6\ecg-kit-0.1.6\recordings\201m.hea
 + Task name: ECG_delineation                                                                

Processing ECG delineator wavedet
No multilead strategy used, instead using the delineation of lead MLII.

##############
# Work done! #
##############


Results saved in
 + C:\Users\preet\Downloads\ecg-kit-0.1.6\ecg-kit-0.1.6\recordings\201m_my_experiment_name_ECG_delineation.mat


Description of the process:
 + Recording: C:\Users\preet\Downloads\ecg-kit-0.1.6\ecg-kit-0.1.6\recordings\201m.hea
 + Task name: ECG_heartbeat_classifier                                                       

 + Using wavedet_V1 detections.

24-Aug-2018
Configuration
-------------
+ Recording:  (AHA)
+ Mode: auto (12 clusters, 1 iterations, 75% cluster-presence)

##############
# Work done! #
##############


Results saved in
 + C:\Users\preet\Downloads\ecg-kit-0.1.6\ecg-kit-0.1.6\recordings\201m_my_experiment_name_ECG_heartbeat_classifier.mat



Running 2nd example on matlab

>> InstallECGkit
Adding paths
Warning: Function newline has the same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict. 
> In path (line 109)
  In addpath (line 96)
  In InstallECGkit>@(a)(addpath(a)) (line 68)
  In InstallECGkit (line 68) 
Checking for updates
Compiling sources
Installing tab-completion feature.
done !

###############################################
# ecg-kit for Matlab v0.1.6 beta - 03/14/2016 #
###############################################

ecg-kit was correctly installed.

You can start reading the documentation, or if you prefer, trying these examples.
Go to the forum if you need help.
>> second_simple_example

Description of the process:
 + Recording: C:\Users\preet\Downloads\ecg-kit-0.1.6\ecg-kit-0.1.6\recordings\201m.mat
 + Task name: QRS_detection                                                                  

Processing QRS detector gqrs
Processing QRS detector wavedet
No multilead strategy used, instead using the delineation of lead MLII.
Processing QRS detector wqrs

#####################################################
# wqrs failed in recording 201m_1_650000 lead  MLII #
#####################################################


#####################################################
# wqrs failed in recording 201m_1_650000 lead  V1   #
#####################################################


   Welcome to PRTools5. It is not fully compatible with PRTools4.
   Go to http://37steps.com/prtools5-intro/ for transition notes or click here.

   Type 'prnews' to open your browser for PRTools news



##############
# Work done! #
##############


Results saved in
 + C:\Users\preet\Downloads\ecg-kit-0.1.6\ecg-kit-0.1.6\recordings\201m_my_201_name_QRS_detection.mat


Description of the process:
 + Recording: C:\Users\preet\Downloads\ecg-kit-0.1.6\ecg-kit-0.1.6\recordings\201m.mat
 + Task name: PPG_ABP_detector                                                               

Could not find any PPG/ABP signal, check the lead description of the recording:
 +  MLII
 +  V1  

Requirements not satisfied in C:\Users\preet\Downloads\ecg-kit-0.1.6\ecg-kit-0.1.6\recordings\201m.mat for task PPG_ABP_detector.

######################
# Nothing to do here #
######################


ans =

     []


Description of the process:
 + Recording: C:\Users\preet\Downloads\ecg-kit-0.1.6\ecg-kit-0.1.6\recordings\201m.mat
 + Task name: ECG_delineation                                                                

Processing ECG delineator wavedet
No multilead strategy used, instead using the delineation of lead MLII.

##############
# Work done! #
##############


Results saved in
 + C:\Users\preet\Downloads\ecg-kit-0.1.6\ecg-kit-0.1.6\recordings\201m_my_201_name_ECG_delineation.mat


Description of the process:
 + Recording: C:\Users\preet\Downloads\ecg-kit-0.1.6\ecg-kit-0.1.6\recordings\201m.mat
 + Task name: ECG_heartbeat_classifier                                                       

 + Using wavedet_MLII detections.

24-Aug-2018
Configuration
-------------
+ Recording:  (AHA)
+ Mode: auto (12 clusters, 1 iterations, 75% cluster-presence)

##############
# Work done! #
##############


Results saved in
 + C:\Users\preet\Downloads\ecg-kit-0.1.6\ecg-kit-0.1.6\recordings\201m_my_201_name_ECG_heartbeat_classifier.mat


Thanks,
Preethi
Reply all
Reply to author
Forward
0 new messages