skrf.mathFunctions.psd2TimeDomain

skrf.mathFunctions.psd2TimeDomain(f, y, windowType='hamming')[source]

Convert a one sided complex spectrum into a real time-signal.

Parameters:
  • f (list or npy.ndarray) – frequency array

  • y (list of npy.ndarray) – complex PSD array

  • windowType (string) – windowing function, defaults to ‘hamming’’

Returns:

  • timeVector (array_like) – inverse units of the input variable f,

  • signalVector (array_like)

Note

If spectrum is not baseband then, timeSignal is modulated by exp(t*2*pi*f[0]). So keep in mind units. Also, due to this, f must be increasing left to right.