Skip to content

Better amplitude results for single frequency #14

Description

@matthewrankin

Instead of simply returning the values of a single frequency bin, for frequencies that are off center a frequency bin, should I return a weighted-average of the adjacent bins?

For instance, if the FFT results have a frequency step size of 3 Hz starting at 0 Hz, and I'm wanting to know the amplitude of a signal at 1 Hz, should I return the weighted average of the amplitude found in the 0 Hz bin and the 3 Hz bin?

By weighted-average, I'm thinking in this case to return two-thirds amplitude from the 0 Hz bin and one-third amplitude from the 3 Hz bin.

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