Hi Ján,
Thanks for the good questions.
The add_image_filenames.py script adds the image filenames to the WFDB header files:
https://github.com/physionetchallenges/python-example-2024/blob/main/add_image_filenames.pyPlease see the data processing scripts in this README to prepare data from the different data sources consistently (mostly adding and formatting information consistently in the header files, except for the part addressed by your next questions):
https://github.com/physionetchallenges/python-example-2024/As you noticed, by default, the ECG image generation code plots an image with the first 2.5 seconds of the signal for each lead and the full 10 seconds of the signal for selected leads. We are in the process of updating the image generation code to update the WFDB files to replace unplotted segments of the signal with NaNs, which the evaluation code will ignore, i.e., we will only evaluate the plotted segments of the ECGs. I think that this addresses your second and third questions, but please follow-up if not.
Best,
Matt
(On behalf of the Challenge team.)
Please post questions and comments in the forum. However, if your question reveals information about your entry, then please email info at
physionetchallenge.org. We may post parts of our reply publicly if we feel that all Challengers should benefit from it. We will not answer emails about the Challenge to any other address. This email is maintained by a group. Please do not email us individually.