embodied-computation-group / systole

Systole: A python package for cardiac signal synchrony and analysis
https://embodied-computation-group.github.io/systole/#
GNU General Public License v3.0
81 stars 31 forks source link

Labelling of bad segments functionality is not working in the case of artefact rejection for ECG signal #60

Open alexvasilichi opened 1 year ago

alexvasilichi commented 1 year ago

I’m currently using the Systole to do artefact correction & rejection of cardiac ECG signal and it’s generally working well. I followed the guidance from the Systole manual, but labelling of bad segments functionality doesn’t seem to work at the moment.

After I open the display window with display(view.io_box, view.editor.commands_box, view.output) and choose the Rejection mode, the labelling of bad segments doesn’t work as intended.

I right click the mouse, but the transparent selection window is green instead of red. When I let go, it doesn’t turn into a grey transparent window that remains, but it disappears and a peak is placed on the local maxima. Then after I save the corrected peaks into the json file, "bad_segments": null.

Do you happen to know what might be the issue and when this functionality will become viable again?

Thanks.