EDF stores its signals encoded as two-byte integers (Int16). We can perform a simple reverse transformation to recover the physical signal. The package now exposes that as a decode function that returns a vector when given a Signal. The formula used for the reverse transformation is the same as in Pixpipe's JavaScript EDF reader.
Interestingly, we only agree with MNE up to two decimal places of precision; I would have expected better than that, but then again I can never be sure with Python.
EDF stores its signals encoded as two-byte integers (
Int16
). We can perform a simple reverse transformation to recover the physical signal. The package now exposes that as adecode
function that returns a vector when given aSignal
. The formula used for the reverse transformation is the same as in Pixpipe's JavaScript EDF reader.Interestingly, we only agree with MNE up to two decimal places of precision; I would have expected better than that, but then again I can never be sure with Python.
Closes #10.