Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to find the phase difference between many signals by using python?

I'm a new user to python. For part of my project, I have 10 signals which more or less are in the form of "sine wave" with the same frequency and amplitude.
 
I plot each one of them separately and it looks good.
 
But, when I wanted to average them, I found some strange effect on each other and I supposed that there is a Phase difference between them.
 
Can anyone help me to determine the phase difference between them? any suggestions?
 
Thanks
0 Kudos
Message 1 of 2
(3,123 Views)

A sine approximation is a linear LSRME fit of a*sin(wt)+b*cos(wt)  and give you amplitude and phase.

Don't know, but I wouldn't wonder if there are already python implementations ...

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 2 of 2
(3,073 Views)