n_air

ofiber.refraction.n_air(lambda0, temperature=15)[source]

Calculate refractive index of air at atmospheric pressure.

This follows the equation on page 4 of Smith, Modern Optical Engineering.

Parameters:
  • lambda0 – wavelength in vacuum [m]

  • temperature – degrees celsius

Returns:

index of refraction [–]