ooragan.plot_quality_factors#

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

Plots the quality factors \(Q_i\) and \(Q_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_Qcbool, optional

Whether or not to show both the \(Q_i\) and the \(Q_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 or Inherit, optional

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