code: def freq_ir(magnitudes):
      ir = np.fft.fftshift(np.fft.irfft(magnitudes), axes=-1)
      window = np.hanning(ir.shape[-1])
      return (ir * window).astype(magnitudes.dtype)
  
imports: import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: freq_ir(magnitudes) and returns: unknown