- qspec.analyze.draw_straight_unc_area ( x , a , b , sigma_a , sigma_b , corr_ab , ** kwargs )[source]
Draws the $1\sigma_f$ standard deviation area of a
straight$f$ enclosed by $$[f(x) - \sigma_f(x), f(x) + \sigma_f(x)].$$- Parameters:
-
- xarray_like
The $x$ values.
- aarray_like
The y-intercept $a$.
- barray_like
The slope $b$.
- sigma_aarray_like
The standard deviation $\sigma_a$ of the y-intercept
a.- sigma_barray_like
The standard deviation $\sigma_b$ of the slope
b.- corr_abarray_like
The correlation coefficient $\rho_{ab}$ between the y-intercept
aand the slopeb.- kwargsNone
The keyword arguments for the
fill_betweenfunction.
- Returns:
-
- outNone