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.print_space_gouys()
.- Parameters
deg : bool, optional; default = True
Whether to convert each phase to degrees.
kwargs : Keyword arguments
Arguments to pass to
Model.beam_trace()
.- Returns
gouys : dict
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.