Logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2025 Patrick Müller. All rights reserved.

qspec.analyze.draw_sigma2d  (  x y sigma_x sigma_y corr n = 1 ** kwargs  )[source]

Parameters:
xndarray | Iterable

The x data.

yndarray | Iterable

The y data.

sigma_xndarray | Iterable

The 1-sigma uncertainties of the x data.

sigma_yndarray | Iterable

The 1-sigma uncertainties of the y data.

corrndarray | Iterable

The correlation coefficients between the x and y data.

nint

The maximum sigma region to draw

kwargsNone

Additional keyword arguments are passed to plt.plot(). Use key 'fmt' to specify the third argument of plt.plot().

Returns:
outNone

Draws the sigma-bounds of the given data points (x, y) until the n-sigma region.

API navigation