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_straight_unc_area  (  x y sigma_a sigma_b corr_ab ** kwargs  )[source]

Parameters:
xarray_like

The x values.

yarray_like

The y values.

sigma_aarray_like

The standard deviation of the y-intercept.

sigma_barray_like

The standard deviation of the slope.

corr_abarray_like

The correlation coefficient between the slope and y-intercept.

kwargsNone

The keyword arguments for the fill_between function.

Returns:
outNone

The standard deviation of a straight line where the x values do not have uncertainties.

API navigation