finesse.detectors.gouy module
Accumulated Gouy phase detector.
- class finesse.detectors.gouy.Gouy(*args, **kwargs)[source]
Bases:
DetectorDetector to measure the accumulated gouy phase across a sequence of spaces.
This detector can operate in one of two modes, depending upon args given:
automatically determine the spaces through an arbitrary path by specifying the from_node and to_node arguments,
OR provide a pre-determined sequence of spaces (or their names) as positional arguments.
Whichever option is chosen, this detector will compute the same fundamental quantity; that is the sum of the Gouy phases accumulated over each space (in degrees).
Parameters
- namestr
Name of newly created gouy detector.
- *argssequence
A sequence of spaces or space names.
- from_nodenode-like
An
OpticalNodeinstance, or a data type which can be converted to an optical node.- to_nodenode-like
An
OpticalNodeinstance, or a data type which can be converted to an optical node.- via_nodenode-like
An
OpticalNodeinstance, or a data type which can be converted to an optical node or a sequence of the these types.- directionstr
Plane to detect in - ‘x’ for tangential, ‘y’ for sagittal. Defaults to ‘x’.