I have a system that is acquiring the data, and a function that is analyzing the small peaks variation during measurements. However the reading slowly moving lower over time.
I have an algorithm to process the raw data to give me measurements, but this algorithm analyses the small peaks but expect the measurement to be stable over a long period of time. I need someone to create ac# function to flatten the curve to be stable over a long period of time. ex: to see the peaks on a flat line.
Ideally the algorithm should be able to start flatern the curve after 80 acquisitions. If my application did not have sufficient data to perform a god analysis, I will continue to acquire more data until I have a good measurement.
Se the graph attached for better understanding. I am providing a CSV file for raw data example.
If you plan to use a Math Library, it must be .NET Core compatible.
I would need the function to be done in about 3 days.