Plotting Module

Visualization utilities for Fisher matrix analysis and results.

stableemrifisher.plot.cov_ellipse(mean, cov, ax, n_std=1.0, **kwargs)[source]

Plot a covariance ellipse.

This function plots a covariance ellipse for visualizing the parameter covariance matrix.

Parameters:
  • mean (tuple) – Mean of the distribution in the form of (mean_x, mean_y).

  • cov (np.ndarray) – Covariance matrix of the distribution.

  • ax (matplotlib.axes.Axes) – Axes object on which to plot the ellipse.

  • n_std (float, optional) – Number of standard deviations to encompass within the ellipse. Default is 1.0.

  • **kwargs – Additional keyword arguments passed to matplotlib.patches.Ellipse.

Returns:

The covariance ellipse plotted on the given Axes object.

Return type:

matplotlib.patches.Ellipse

stableemrifisher.plot.normal(mean, var, x)[source]
stableemrifisher.plot.CovEllipsePlot(covariance, param_names=None, wave_params=None, fig=None, axs=None, filename=None, ellipse_kwargs={}, line_kwargs={})[source]
stableemrifisher.plot.StabilityPlot(deltas, Gammas, stable_index=None, param_name=None, filename=None)[source]