code: def minimum_phase(x, n=None):
      r"""Compute the minimum phase reconstruction of a real sequence.
      x : ndarray
          Real sequence to compute the minimum phase reconstruction of.
      n : {None, int}, optional
          Length of the Fourier transform.
      Compute the minimum phase reconstruction of a real sequence using the
      real cepstrum.
      Returns
      -------
      m : ndarray
          The minimum phase reconstruction of the real sequence `x`.
      """
      if n is None:
          n = len(x)
      ceps = real_cepstrum(x, n=n)
      window = _minimum_phase_kernel(ceps)
      m = cupy.fft.ifft(cupy.exp(cupy.fft.fft(window))).real
  
      return m
  
imports: import cupy
label_desc: Use image node_id 4 for calling a global function with example usage: minimum_phase(x, n) and returns: m