Considering these are two signals over time, black and red.Following are some of the properties
- Every Second a new data point is added over time . There is no control on the generation of the signals/how the signals are generated. Cannot nail down the signal generation under any function or logic.
- Each of the signals has its own scale however the scale is always within 0-10 .
- On visualisation both the signals looks similar at times and dissimilar at times.
- How to find out if the red signal is moving in-sync with the black signal or is out of sync.
Note - The signals are realtime in nature , the look-back might be a maximum of 60 seconds.
- What is the correct approach to solve problems like this?
I am looking for some direction here.
Edit - Use case
These are two bacterial growths over time . Once both the bacteria population are in sync or async is detected then some action is needed to be taken. This action has to be taken only within 60 seconds of their new movement else the experiment leads to certain implications. It might happen that in a span of 1 hour there are 200 actions taken , quite possible , but the timing of the action and instant when both bacteria's change their trend has to be within 60 seconds.
sync detected - 11:20:36 , trend started- 11:19:47 action - decrease control temperature
async detected -12:31:22 trend started- 12:30:24 action -increase temperature