malonzo47 / pynita_GUI

pynita_GUI is python GUI based implementation of Noise Insensitive Trajectory Algorithm (NITA)
4 stars 3 forks source link

add savitzky golay filter or similar #28

Closed malonzo47 closed 5 years ago

malonzo47 commented 5 years ago

This may not be natively available in a python package but it might be worth building. It has proven useful in Matlab.

malonzo47 commented 5 years ago

References for Matlab and Python: Matlab: https://www.mathworks.com/help/signal/ref/sgolayfilt.html Does this already exist in scipy? There must be some reason we didn’t implement this directly: https://docs.scipy.org/doc/scipy-0.16.1/reference/generated/scipy.signal.savgol_filter.html More scipy: https://scipy-cookbook.readthedocs.io/items/SavitzkyGolay.html

vasusingla commented 5 years ago

the functionality is present, but won't work for filt_dist less than or equal to 2, if such value is added it leads to a runtime error which is slightly difficult to debug.

malonzo47 commented 5 years ago

Ok, it works. I'll close this and open up a related documentation issue.