code: def _wavelet_array(f, inline, func):
      f = _as_floating_point_array(f)
      if f.ndim != 2:
          raise ValueError(
              "mahotas.convolve.%s: Only works for 2D images" % func
          )
      if not inline:
          return f.copy()
      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 10 for calling a global function with example usage: _wavelet_array(f, inline, func) and returns: f, f