# Maths behing implementing temperature compensation on a signal

I have a fluid pressure sensor (blue line) whose measurements are affected by outdoor temperature (yellow line). So there is a 12 hours cyclic component (day/night) in my pressure measurements. How can I use the temperature variable to compensate (or "decycle") the pressure readings accordingly? I'd appreciate if you could direct me in the right direction, what are the mathematics concepts to look at? • Unless you know what pressure you were actually supposed to be measuring, that graph isn't too useful because other things could be changing the pressure reading (like the actual pressure or whatever phenomena the pressure is reflecting) along with temperature. So you would need to connect the pressure sensor to a known, constant, quantity and measure how the reading responds as the temperature changes. Then you can start compensating. Sep 24 '20 at 20:10
• Assuming you can separate real pressure variation from sensor response variation as DKNguyen mentioned, the first thing I would do would be to plot these two variables using a scatter plot. Sep 24 '20 at 20:17