Open raphaelvallat opened 1 year ago
That sounds like a great addition!
Do you want to make a PR?
Sure thing, I'll submit a PR in the new couple of weeks. Is there anything that you'd modify from the initial code that I sent? Are there general contributing guidelines for this library?
Thanks
Hi,
Oftentimes it is useful to crop/truncate the EDF file to specified start and/or stop times (e.g. time in bed). I suggest adding a new function
pyedflib.highlevel.truncate_edf
(or "crop_edf")This is an initial working implementation tested on pyedflib 0.1.30