I have real-time data from sensors monitoring pumps. I need to analyze the duty-cycle of the pumps in the frequency domain. I am pretty rusty in FFT, so I was hoping to find a C++ or Python library that would have a simple API taking in time-series data (i.e. a series of {timestamp, value} real-number pairs), and returning a series of frequencies, amplitudes and phases.
I found several packages taking in complex number series. Moreover, their example code typically uses random data as input, which makes it hard to integrate with production code. A Matlab-based solution would also be hard for me to integrate into my code.
One of the packages I've found:
https://github.com/flatironinstitute/finufft
I know that the problem is my lack of knowledge, but given that sensor-data analysis is such a hot topic today, I was surprised to realize that such a library is so hard to find.
Thanks in advance for your help.