I am trying to implement some signal processing on sensor data for detecting tiny movement. the signal processing is doing on iq signals. In the source code I have some doubts that . Here I am adding the portion of Python Code . Can anyone please explain the following signal processing, and the significance of that, please describe what each term indicate
Envelope = np.abs(PresentSample)
Delta = PresentSample * np.conj(PreviousSample)
PhaseWeights = np.imag(Delta)
Weights = np.abs(PhaseWeights) * Envelope
DeltaDist = np.dot(Weights, np.angle(Delta))
DeltaDist *= 2.5 / (2.0 * pi * sum(Weights))
Present and prev samples are 1D array consisting of iq samples. For each processing . Is Delta is cross correlation ? Please give explanation for rest of the codes Why multiply the DetltaDist ?
Envelope = np.abs(PresentSample)
Delta = PresentSample * np.conj(PreviousSample)
PhaseWeights = np.imag(Delta)
Weights = np.abs(PhaseWeights) * Envelope
DeltaDist = np.dot(Weights, np.angle(Delta))
DeltaDist *= 2.5 / (2.0 * pi * sum(Weights))
Present and prev samples are 1D array consisting of iq samples. For each processing . Is Delta is cross correlation ? Please give explanation for rest of the codes Why multiply the DetltaDist ?