Skip to content

Computation of window size based on cutoff frequency in local detrend method #125

Open
@danibene

Description

@danibene

Hello :)

I was wondering if it is normal that frequencies below the detrendCutoff in removeTrend() are not completely attenuated, see e.g.: https://gist.github.com/danibene/e3ed1200a75ea72a3c52bfb0ac248a2c

If not, maybe this has something to do with how the windowSize is computed? https://github.com/sappelhoff/pyprep/blob/master/pyprep/removeTrend.py#L92

For more context you can also see neuropsychology/NeuroKit#734 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Matlab PREPNeeds coordination/clarification with Matlab PREP

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions