Skip to content

Need to apply anti-aliasing lowpass filter prior to Lanczos interpolation #60

Description

@liamtoney

As a pre-processing step, we resample waveforms using the Lanczos method. We do this here:

st_i.interpolate(sampling_rate=decimation_rate, method='lanczos',
And here:
st_i.interpolate(sampling_rate=lowest_fs, method='lanczos', a=a_param)

Currently we are not applying an anti-aliasing filter first — this can lead to bad results! We need to add code to apply an appropriate lowpass filter prior to the interpolate() method being called.

Activity

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

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions