finesse.utilities.homs.lens_diopt_to_f

finesse.utilities.homs.lens_diopt_to_f(f, d)[source]

Convert a dioptre shift, at a lens, to a focal length.

Parameters
ffloat

The initial focal length of the lens.

dfloat, array-like

A value or array of values representing the dioptre shift.

Returns
outfloat, array-like

The new value(s) of the focal length.