Skip to content

Parts of the original spectrum are below the aperiodic fit #320

Open
@shnovik

Description

Hello, we're running into problems where parts of the original power spectra dip below the aperiodic fit -- I've pasted two examples below. Is there any way to prevent this from happening? Thanks!

image
image

Activity

TomDonoghue

TomDonoghue commented on Mar 25, 2024

@TomDonoghue
Member

Dear @shnovik - perhaps you can elaborate on why this is an issue / undesired behavior? The aperiodic fitting is designed to find the best fitting fit to the isolated aperiodic component, and is not set to prioritize any direction of error. The PSD, as an estimate of power, can vary above or below the best fit line, but we don't think there's anything meaningful about small deviations below the fit, as you see in the examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Parts of the original spectrum are below the aperiodic fit · Issue #320 · fooof-tools/fooof