finesse.model.Model.print_cavity_mismatches¶
- Model.print_cavity_mismatches(direction=None, percent=False, tablefmt='fancy_grid')[source]¶
Prints the mismatches between each cavity in an easily readable table format.
If either of each cavity in a coupling is unstable then the mismatch values between these will be displayed as
nan
.- Parameters
direction : str, optional; default: None
The plane to compute mismatches in, “x” for tangential, “y” for sagittal. If not given then tables for both planes will be printed.
percent : bool, optional; default: False
Whether mismatch values are displayed in terms of percentage. Defaults to False such that the values are given as fractional mismatches.
table_fmt : str, optional
Table format option to pass to tabulate.