This is documentation for an old release of SciPy (version 0.8.). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.constants.nu2lambda

scipy.constants.nu2lambda(nu)

Convert optical frequency to wavelength.

Parameters :

nu : float-like scalar or array-like

Optical frequency(ies) to be converted

Returns :

lambda : float or a numpy array of floats, corresp. to type of Parameters

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.constants import nu2lambda
>>> nu2lambda(np.array((1, speed_of_light)))
array([  2.99792458e+08,   1.00000000e+00])

Previous topic

scipy.constants.lambda2nu

Next topic

Fourier transforms (scipy.fftpack)

This Page