finesse.model.Model.compute_space_gouys

Model.compute_space_gouys(deg=True, **kwargs)[source]

Calculate the Gouy phases accumulated over each space.

If you want to display these phases in a nicely formatted table then use Model.space_gouys_table().

Parameters:
degbool, optional; default = True

Whether to convert each phase to degrees.

kwargsKeyword arguments

Arguments to pass to Model.beam_trace().

Returns:
gouysdict

A dictionary of space: gouy where space is a Space object and gouy is another dict consisting of "x" and "y" keys mapping to the Gouy phase values for the tangential and sagittal planes, respectively.