Firionus / FastRunningMedian.jl

Efficient running median for Julia
MIT License
11 stars 1 forks source link

Adjust Custom Array Indices to Match Data Position #29

Open Firionus opened 1 year ago

Firionus commented 1 year ago

E.g. with OffsetArray input, we could shift the index depending on tapering and whether the window length is even or odd, keeping output properly aligned with input. Especially cool for plotting when using no tapering.

While this would be a cool feature, I don’t know how such a feature would be generic for different custom indexing types. And therefore, I‘d consider this more of a user responsibility, and more of an optional feature.

Please comment if you‘d still like it or want to contribute towards it.