Simon Kern

Results 151 comments of Simon Kern

I'm not the original author, so I cannot :(

I think this is a very important issue. I also see that reading and writing the file changes values within. I always shrugged it off as rounding errors, but some...

This is probably due to a bug that was introduced recently Does installing from this branch fix the issue for you? https://github.com/holgern/pyedflib/tree/issue148_samplerate2

That is strange :-/ pinging @holgern , maybe he can merge the issue soon and make a release?

do you have a sample file? the error is thrown from the c-library (edflib). to catch it we will probably need to add some additional code in the edflib library.

As I suspected, the segfault cannot be caught in Python. I would need to alter the C-source code of pyedflib and throw a Python exception there. I don't want to...

Try opening and saving it with EDFBrowsers header editor (EDFBrowser->Tools->Header Editor). This often fixes the problem. Also EDFBrowser might give you some more details on where the error is.

EDFBrowser uses the same library as we do in the background: https://www.teuniz.net/edfbrowser/ Download the program, start the header editor from the menu and try to repair the file (open it...

This is related to #121 and #117 I totally understand the confusion about the two terms, and I agree that it should be made clearer. In my opinion, sample frequency...

@cleemesser yes, that is also how we will calculate it once #159 is reviewed and merged ![image](https://user-images.githubusercontent.com/14980558/175769276-f28fc09e-8714-440a-a4ba-a9c51d2451d0.png) btw: I still encourage you to join in on `pyedflib` instead of working...