Skip to content

Problem in decimation #2

@ashley-b

Description

@ashley-b

Hi, let me start of by saying am not a DSP expert.
But I have noticed scipy.signal.decimate gives poor results with large decimation values

signal decimate
But when I change

sd = signal.decimate(x, factor[idx])

to

sd = signal.resample(x, (int)(len(x) / factor[idx]))

I see this improvement
signal resample

I believe it is related to the note about not using decimate with values high than 13
https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.decimate.html#scipy.signal.decimate

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions