finesse.solutions.beamtrace.PropagationSolution.table

PropagationSolution.table(subs=None, numfmt=None, **kwargs)[source]

Construct a table showing the beam properties at each node.

Parameters
subsdict, optional

A dictionary of model parameter to value substitutions to pass to the eval methods of symbolic expressions.

If this solution object is not symbolic then this argument is ignored.

numfmtstr or func, optional

Either a function to format numbers or a formatting string. The function must return a string. Defaults to “{:.3f}” for the first 7 columns and lambda q: f”{q.real:.3f} + {q.imag:.3f}j” for the last one.

**kwargsdict, optional

Additional arguments to create the table. See finesse.utilities.tables.NumberTable for further documentation. The arguments table, colnames and rownames are already used and should not be passed.

Returns
tablefinesse.utilities.NumberTable