Wednesday, October 30, 2019

pyfar package

The false alarm reduction project comes out pyfar package.
I give it a try.


(env) D:\dvp\false-alarm>python pyfar\pipeline.py
ecg_ann_type:  gqrs
 ann_path:  annotations/
sample name:  v100s
Traceback (most recent call last):
  File "pyfar\pipeline.py", line 159, in
    run(data_path, ann_path, write_filename, ecg_ann_type)
  File "pyfar\pipeline.py", line 139, in run
    matrix = generate_confusion_matrix_dir(data_path, ann_path, ecg_ann_type)
  File "pyfar\pipeline.py", line 43, in generate_confusion_matrix_dir
    true_alarm = is_true_alarm(data_path, sample_name)
  File "pyfar\pipeline.py", line 17, in is_true_alarm
    sig, fields = wfdb.srdsamp(data_path + sample_name)
AttributeError: module 'wfdb' has no attribute 'srdsamp'


There are just some cardiology terms.
For this moment, I just stop in here.


No comments: