Skip to content

Default window_type for power_spectral_density does not work #156

@DriesAllaerts

Description

@DriesAllaerts

In helper_functions.py>power_spectral_density(), the default window_type is 'hanning'. However, this window_type raises a ValueError "unknown window type". Accepted window types are either "hamming" or "hann". The term "hanning" window is a common mistake but it is not the official name and hence not accepted by the welch method.

Solution: Change "hanning" to "hann".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions