finesse.solutions.beamtrace.PropagationSolution.q

PropagationSolution.q(at) BeamParam[source]

Beam parameter at a given node of the path.

Parameters
atOpticalNode or str

The location in the path at which to get the beam parameter. This can be an optical node or the name of the optical node.

Returns
qBeamParam

The beam parameter corresponding to the specified node.

Raises
keKeyError

If at is a node which does not exist within the solution.

veValueError

If at is a string corresponding to a node which doesn’t exist in the associated model.

teTypeError

If at is not an OpticalNode or a string.