ooragan.plot_losses#

ooragan.plot_losses(fit_results: _FitResult | list[_FitResult], show_deltac: bool = True, freq_unit: Literal['GHz', 'MHz', 'kHz'] = 'GHz', title: str | None = None, figure_style: str | Inherit = Inherit) SmartFigure[source]#

Plots the losses \(\delta_i\) and \(\delta_c\) as a function of average photon number in the resonator \((\tilde n)\).

Parameters:
fit_resultsFitResult or list of FitResult

Single or list of FitResult from a Fitter.

show_deltacbool, optional

Whether or not to show both the \(\delta_i\) and the \(\delta_c\). Defaults to True.

freq_unit{“GHz”, “MHz”, “kHz”}, optional

Unit in which the frequency is given. Defaults to "GHz".

titlestr, optional

Title of the figure. Defaults to None.

figure_stylestr, optional

GraphingLib figure style to apply to the plot. See here for more info.