code: def wavenumber(src, rec, depth, res, freq, wavenumber, ab=11, aniso=None,
                 epermH=None, epermV=None, mpermH=None, mpermV=None, verb=2):
      r
  
      # Issue warning
      mesg = ("\n    The use of `model.wavenumber` is deprecated and will " +
              "be removed;\n    use `model.dipole_k` instead.")
      warnings.warn(mesg, DeprecationWarning)
  
      return dipole_k(src, rec, depth, res, freq, wavenumber, ab, aniso, epermH,
                      epermV, mpermH, mpermV, verb)
docs: r"""Depreciated. Use `dipole_k` instead.