finesse.locks module
Controlling an interferometer via error signals.
- class finesse.locks.Lock(*args, **kwargs)[source]
Bases:
ModelElementA simple lock which computes and applies the feedback to a given parameter using an error signal.
Parameters
- namestr
Name of newly created lock.
- error_signalAny
An error signal parameter or an object capable of producing a real-type error signal. This is typically a demodulated
PowerDetectorinstance (or the name of the instance).- feedback
Parameter A parameter of the model to apply the locks’ feedback signal to.
- gainfloat
Control loop gain.
- accuracyfloat
Threshold to decide whether the loop is locked.
- enabledboolean
If true this lock will run when the RunLocks() action is used. Explicitly specifying the name of the lock will override this setting, e.g. RunLocks(name).
- offsetfloat
An offset that is applied to the error signal before it is used.
- property accuracy
accuracy : float Threshold to decide whether the loop is locked.
- property enabled
enabled : boolean If true this lock will run when the RunLocks() action is used. Explicitly specifying the name of the lock will override this setting, e.g. RunLocks(name).
- property gain
gain : float Control loop gain.
- property offset
offset : float An offset that is applied to the error signal before it is used.