You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PyPREP is a port of PREP in MATLAB (https://github.com/VisLab/EEG-Clean-Tools), and I believe the way we calculate the window size has been taken directly from the original PREP code, see:
It's entirely possible that it's wrong in the original PREP code ... if so, I would be open to fixing it here, and documenting it as one further deviation from the original code, as the other listed here: https://pyprep.readthedocs.io/en/latest/matlab_differences.html
Also, you could consider raising this issue at the original PREP repository that I mention above, ... if they also recognize this as an error, they might fix it there, and we can mirror the fix here, without an entry to the "matlab differences" section in the docs that I linked above.
Hello :)
I was wondering if it is normal that frequencies below the
detrendCutoff
inremoveTrend()
are not completely attenuated, see e.g.: https://gist.github.com/danibene/e3ed1200a75ea72a3c52bfb0ac248a2cIf not, maybe this has something to do with how the
windowSize
is computed? https://github.com/sappelhoff/pyprep/blob/master/pyprep/removeTrend.py#L92For more context you can also see neuropsychology/NeuroKit#734 (comment)
The text was updated successfully, but these errors were encountered: