finesse.solutions.beamtrace.PropagationSolution.beamsize

PropagationSolution.beamsize(at, which=None)[source]

Beam radius at a given location of the path.

Parameters
See :meth:`.PropagationSolution.q`.
Returns

w : float or Operation

If at is an OpticalNode instance, or a Connector object and which was specified, then the beam size corresponding to this node is returned.

ws : dict

Otherwise, a dictionary of the input and output node mappings to their respective beam sizes is returned.

Raises
See PropagationSolution.q().