# Savitzky-Golay **Repository Path**: beve/savitzky-golay ## Basic Information - **Project Name**: Savitzky-Golay - **Description**: Savitzky-Golay Filter in C++。使用C++重新实现scipy.signal.savgol_filter,二者输出结果一致 - **Primary Language**: C++ - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2023-05-12 - **Last Updated**: 2024-04-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Savitzky-Golay Filter in C++ Author: [Dong anakin](henudwj@126.com) ### Introduction Implementation of the Savitzky-Golay Filter. Initial testing of this code was on a Ubuntu 18.04 but will work on any other Linux/Windows/Mac OS machine with little effort. ### Dependencies + [Eigen3 Library](http://eigen.tuxfamily.org/index.php?title=Main_Page) for the linear algebra of the matrices, vectors and related algorithms. ### Example * `./savgol` ### Compilation There is a `CMakeLists.txt` file in the project root folder. From the project root directory: 1. Create a build directory: `mkdir build && cd build` 2. Compile the `cpp` code: `cmake ../` 3. Build your executable: `make` 4. Run the executable: `./savgol` ### Citation If you have used `Savitzky-Golay` in your work, please cite it. ```tex @misc{Savitzky-Golay, author = {Dong anakin}, title = {{Savitzky-Golay Filter in C++}}, year = {2023}, howpublished = {\url{ https://gitee.com/beve/savitzky-golay}}, note = {Accessed April, 2023} } ``` #### Issues If you have issues running the files, please use the issues tab to open a bug. I will generally respond within a 24-hour period. ### Reference scipy.signal.savgol_filter https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.savgol_filter.html