Align shifted similar signals without comparison

70 Views Asked by At

I have multiple signals (1-dim. arrays) that are similar as depicted on the image example of 2 similar signals. The signals are circulary shifted. I'm searching for a way to align similar signals without comparing them. In a way, I am searching for hash function, which takes the signal and uses its features to shift it.

Naive solution for illustration: find the maximum value of the signal and shift it so, that the maximum value is on position 0.

Because signals are not the same the naive solution is not robust, therefore I'm searching for an alternative.

Thank you!