Giter Site home page Giter Site logo

vaccovecrana / savitzky-golay Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 200 KB

Java implementation of the Savitzky-Golay filter

License: Other

Kotlin 5.25% Java 94.75%
interpolation interpolation-techniques savitzky-golay savitzky-golay-filter signal-processing

savitzky-golay's Introduction

savitzky–golay

Savitzky–Golay filter in Java.

Code ported from https://github.com/pconstantinou/savitzkygolay

Available at Maven Central.

dependencies {
  implementation("io.vacco.savitzky-golay:savitzky-golay:<LATEST_VERSION>")
}

This code is based on the article: Smoothing and Differentiation of Data by Simplified Least Squares Procedures

Provides an effective way of smoothing data that generally follows curves found in polynomials.

It is particularly good alternative to a moving average since it does not introduce a delay proportional to about half the window length.

The filter runs on O(number of elements * size of window).

See test case for usage example.

Render plot in eCharts.

example plot

savitzky-golay's People

Contributors

jjzazuet avatar

Watchers

 avatar  avatar

Forkers

gudumingjian

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.