code: def cufftEstimate1d(nx, fft_type, batch=1):
      """
      Return estimated work area for 1D FFT.
  
      References
      ----------
      `cufftEstimate1d <http://docs.nvidia.com/cuda/cufft/#function-cufftestimate1d>`_
      """
  
      worksize = _types.worksize()
      status = _libcufft.cufftEstimate1d(
          nx, fft_type, batch, ctypes.byref(worksize)
      )
      cufftCheckStatus(status)
      return worksize.value
  
imports: import ctypes
  import operator
  import re
  import sys
label_desc: Use image node_id 16 for calling a global function with example usage: cufftEstimate1d(nx, fft_type, batch) and returns: worksize