finesse.model.Model.create_mismatch¶
- Model.create_mismatch(node, w0_mm=0, z_mm=0)[source]¶
Sets the beam parameters such that a mismatch of the specified percentage magnitude (in terms of \(w_0\) and \(z\)) exists at the given node.
- Parameters
node :
OpticalNode
The node to to create the mismatch at.
w0_mm : float or sequence, optional
The percentage magnitude of the mismatch in the waist size. This can also be a two-element sequence specifying the waist size mismatches for an astigmatic beam. Defaults to zero percent for both planes.
z_mm : float or sequence, optional
The percentage magntiude of the mismatch in the distance to the waist. This can also be a two-element sequence specifying the distance to waist mismatches for an astigmatic beam. Defaults to zero percent for both planes.
- Returns
gauss :
Gauss
The Gauss object created or modified via this mismatch.