A short script for Savitzky-Golay filtering.
Please see the following article for a detailed theoretical description:
A. Savitzky and M. J. E. Golay, Anal. Chem. 1964, 36, 8, 1627–1639, 1964 doi:10.1021/ac60214a047
This script was developed in the following environment:
Python 3.9.7
matplotlib 3.4.3
tk 8.6.11
numpy 1.20.3
scipy 1.8.0