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.straight_x_std  (  x b sigma_x sigma_a sigma_b corr_ab  )[source]

Parameters:
xarray_like

The x values.

barray_like

The slope.

sigma_xarray_like

The standard deviation of the x 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.

Returns:
outndarray

The standard deviation of a straight line where all input values have uncertainties.

API navigation