code: def daubechies(f, code, inline=False):
      """
      filtered = daubechies(f, code, inline=False)
  
      Daubechies wavelet transform
  
      This function works best if the image sizes are powers of 2!
  
      Parameters
      ----------
      f : ndarray
          2-D image
      code : str
          One of 'D2', 'D4', ... 'D20'
      inline : bool, optional
          Whether to write the results to the input image. By default, a new
          image is returned. Integer images are always converted to floating
          point and copied.
  
      See Also
      --------
      haar : function
          Haar transform (equivalent to D2)
      """
      f = _wavelet_array(f, inline, "daubechies")
      code = _daubechies_code(code)
      _convolve.daubechies(f, code)
      _convolve.daubechies(f.T, code)
      return f
  
imports: import numpy
  from .None import _convolve
  from .None import morph
  from .internal import _get_output, _normalize_sequence, _verify_is_floatingpoint_type, _as_floating_point_array
  from ._filters import mode2int, modes, _check_mode
label_desc: Use image node_id 16 for calling a global function with example usage: daubechies(f, code, inline) and returns: f