Closed arjunmgh closed 1 year ago
Upon inspection I found that in the original edflib
, the maximum annotation length (EDFLIB_WRITE_MAX_ANNOTATION_LEN
) is indeed set to 40. However, in the specifications I cannot find a reason why this should be the case.
I have raised the issue here and will report back.
see https://gitlab.com/Teuniz/EDFlib/-/issues/13#note_1444441941
It's "on the wishlist", so might be included in the next release. For now, you either need to limit yourself to 40 chars or compile pyedflib
yourself while setting EDFLIB_WRITE_MAX_ANNOTATION_LEN
to a higher value in developer mode.
Thank you for your help!
when i write annotations using- f.writeAnnotation(onset_time, duration, event_type)
where event_type is the annotation, the annotations are truncated to 40 characters, is there a limit to the length of a single annotation?