fdtdx.wavelength_to_period#
- fdtdx.wavelength_to_period(wavelength)[source]#
Convert wavelength to time period using speed of light.
Uses the speed of light constant to calculate the corresponding time period for a given wavelength.
- Parameters:
wavelength (float) – The wavelength in meters.
- Returns:
The corresponding time period in seconds.
- Return type:
float