the-siesta-group / edfio

Read and write EDF/EDF+ files.
Apache License 2.0
28 stars 4 forks source link

Redesign signals interface #10

Closed hofaflo closed 10 months ago

hofaflo commented 10 months ago

Currently, the setter for Edf.signals allows to create non-compliant EDFs, e.g. by

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.