finesse.solutions.beamtrace.BeamTraceSolution.q

BeamTraceSolution.q(node)[source]

A convenience method for getting the non-astigmatic beam parameter at a node.

Warning

This is only intended to be used on nodes which do not exhibit astigmatism. If qx != qy at the node then this method will raise a ValueError.

To get both qx and qy at a node use either:

qx, qy = trace[node]

or:

qx, qy = trace.get(node)

where trace is an instance of this class.

Parameters

node : OpticalNode

The node at which to obtain q.

Returns

q : BeamParam

The beam parameter (which is the same in both planes) at the node.

Raises

ex : ValueError

If the beam parameters qx != qy at the node.