I have a preset low and a high boundary acceptance curves for my data, defined by x and y values. They were experimentally derived curves, so are not a formula. I have roughly 200 points mapping each curve.
When I collect data from a new experiment, I want to verify in a script whether or not the new data is between those two curves. The x values are from my experiment, and as such are not monotonic. Each experiment generates between 700 - 900 data points.
How can I map or interpolate this data so that I can confirm with a script whether or not the new data is within the boundaries? I tried using linear mapping to map all three curves (lower, upper, and experimental data) to the same x-values, but since my experimental data's x-values are not monotonic I am unable to do so.