finesse.solutions.beamtrace.BeamTraceSolution.get¶
- BeamTraceSolution.get(node, default=None)[source]¶
Gets the beam parameter(s) at the specified node / port.
Note that node can be an instance of
OpticalNode
, resulting in this method returning qx and qy for that specific node, or it can be an object of typePort
- in which case a dictionary of both the input and output node beam parameters are returned.- Parameters:
- node
OpticalNode
orPort
The node or port to access.
- defaultany, optional; default: None
The value to return if node does not exist within the trace data.
- node