wincowgerDEV/OpenSpecy-package

[Feature]: better smoothing and derivative calculation

Closed this issue · 1 comments

Guidelines

  • I agree to follow this project's Contributing Guidelines.

Description

I'm exploring some alternatives to SG filtering.

This is apparently a very good smoothing filter. https://github.com/GuillaumeBiessy/WH

Also this has the new new on derivatives that don't increase noise: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9026279/

Problem

Sg filter has artifacts near edges and increases noise for derivatives.

Proposed Solution

Add in functions for these new methods.

Alternatives Considered

Have people integrate these functions into their routines.

Added the WH smoother and a derivative option in new PR fd3b06a