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
nodeOpticalNode

The node to to create the mismatch at.

w0_mmfloat 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_mmfloat 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
gaussGauss

The Gauss object created or modified via this mismatch.