Convert wavelength to optical frequency
Parameters : | lambda : float-like scalar or array-like
|
---|---|
Returns : | nu : float or a numpy array of floats, corresponding to type of Parameters
|
Notes
Computes where c = 299792458.0, i.e., the (vacuum) speed of light in meters/second.
Examples
>>> from scipy.constants.constants import lambda2nu
>>> lambda2nu(np.array((1, speed_of_light)))
array([ 2.99792458e+08, 1.00000000e+00])