finesse.ligo.set_lock_gains(model, d_dof=1e-06, gain_scale=1, verbose=False)[source]

For the current state of the model each lock will have its gain computed. This is done by computing the gradient of the error signal with respect to the set feedback.

The optical gain is then computed as -1/(slope).

This function alters the state of the provided model.


model : Model

Model to set the lock gains of

d_dof : double

step size for computing the slope of the error signals

verbose : boolean

Prints information when true