freq2wl#

freq2wl(freq: Union[jax.Array, numpy.ndarray, numpy.bool_, numpy.number, bool, int, float, complex]) jax.Array[source]#

Convenience function for converting from frequency to wavelength.

Parameters

freq (float) – The frequency in SI units (Hz).

Returns

wl – The wavelength in SI units (m).

Return type

float