- 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.