Currently, the setter for Edf.signals allows to create non-compliant EDFs, e.g. by
not passing an annotations signal for an EDF+C
passing a list of signals where the timekeeping signal is not the first annotations signal
passing signals that have the correct overall duration, but are not compatible with the current data_record_duration
Removing the public setter and introducing more controlled methods for manipulation (Edf.drop_signals and Edf.append_signals) and a setter for Edf.data should allow to handle valid use cases more safely.
Currently, the setter for
Edf.signals
allows to create non-compliant EDFs, e.g. byRemoving the public setter and introducing more controlled methods for manipulation (
Edf.drop_signals
andEdf.append_signals
) and a setter forEdf.data
should allow to handle valid use cases more safely.