QuadratureHybrid¶
-
class
DSP.
QuadratureHybrid
¶ Bases:
object
Add components of an analytic signal with +/- pi/2 phase shift
Example:
In [1]: from DSP import SignalGenerator, QuadratureHybrid, is_analytic In [2]: signal = SignalGenerator(mode="analytic", M=256, components=[[1,10,0],[.5,-15,0]]).signal() In [3]: qh = QuadratureHybrid() In [4]: usb,lsb = qh.convert(signal) In [5]: from scipy.fft import rfft In [6]: abs(rfft(usb)).argmax(), abs(rfft(lsb)).argmax() Out[6]: (10, 15)
Methods Summary
convert
(signal)Splits the input signal with a quarter cycle phase shift.
Methods Documentation
-
convert
(signal)¶ Splits the input signal with a quarter cycle phase shift.
-