Mode mismatch detector for mismatch figure-of-merit between two nodes
This is mainly motivated by the fact that I've often found myself performing the same calculations in a somewhat cumbersome way many times --- i.e. using beam property detectors then manually computing mismatches with the output q data.
The ModeMismatchDetector
automates all this and spits out 1 - O(q1p, q2)
for each data point; where q1p
is the beam parameter, q1
, at node 1 propagated to node 2 via the associated ABCD matrix view, and q2
is the beam parameter at node 2. The detector output is a number between [0, 1] by default, but percent=True
can be set to put these values into percentage form instead.