Skip to content

1D savgol test #4

@nghorbani

Description

@nghorbani

Hi,
I wrote a simple test and the output size is different
` input_arr = np.random.rand(10,1)
output_arr = filter1D(input_arr.reshape(-1), mu=5, poly=3, order=0)

output_arr2 = savgol_filter(input_arr, 5, 3, axis=0, mode='wrap')

`
resulting in output_arr of shape 10, and output_arr2 shape of 5. it has to do with conv(...,'full'). if "same" is used the dimension are correct but still the values are different

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions