0
$\begingroup$

I have an interferogram of a white LED. I am trying to extract the envelope of the signal. enter image description here

Shown is the interferogram, and the absolute value of the Hilbert Transform of the interferogram. I used scipy.signal.hilbert to find the Hilbert Transform. I am wondering why the Hilbert Transform simply matches the curve rather than finding its envelope? Is it due to the nature of my signal? I have also attempted a cubic spline, producing the same result.

    from scipy import signal
    yy_env = np.abs(signal.hilbert(yy))
$\endgroup$
3
  • $\begingroup$ Well, to answer that question, have you tried on a different signal? Maybe try reproducing the documentation example? $\endgroup$
    – Jdip
    Commented Oct 20, 2023 at 15:54
  • 3
    $\begingroup$ The DC offset makes your signal its own envelope. $\endgroup$
    – Jazzmaniac
    Commented Oct 20, 2023 at 16:54
  • $\begingroup$ I don’t know why but the phrasing of this comment is very funny to me. $\endgroup$
    – Jdip
    Commented Oct 20, 2023 at 17:34

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.