code: def nu2lambda(nu: npt.ArrayLike) -> Any:
      """
      Convert optical frequency to wavelength.
  
      Parameters
      ----------
      nu : array_like
          Optical frequency to be converted.
  
      Returns
      -------
      lambda : float or array of floats
          Equivalent wavelength(s).
  
      Notes
      -----
      Computes ``lambda = c / nu`` where c = 299792458.0, i.e., the
      (vacuum) speed of light in meters/second.
  
      Examples
      --------
      >>> from scipy.constants import nu2lambda, speed_of_light
      >>> import numpy as np
      >>> nu2lambda(np.array((1, speed_of_light)))
      array([  2.99792458e+08,   1.00000000e+00])
  
      """
      return c / _np.asanyarray(nu)
  
file_path: scipy/scipy/constants/_constants.py
imports: from __future__ import annotations
  import math
  from typing import TYPE_CHECKING, Any
  from ._codata import value
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: nu2lambda(nu) and returns: unknown