finesse.components.cavity.Cavity.any_changing_params

Cavity.any_changing_params(geometric=False)[source]

Determines whether any parameter of any component inside the cavity is changing.

If the optional argument geometric is True, then this will only check that the following parameters are changing:

  • radii of curvature of surfaces,

  • lengths of spaces,

  • refractive indices of spaces,

  • focal lengths of lenses,

  • angles of incidence of beam splitters.

Parameters

geometric : bool

If true then only checks parameters which affect ABCD matrices.

Returns

flag : bool

True if any parameter is changing (subject to the condition outlined above), False otherwise.