- qspec.analyze. draw_straight_unc_area ( x , a , b , sigma_a , sigma_b , corr_ab , **kwargs )[source]
-
Draw the $1\sigma_f$ standard deviation area of a straight line $f$
straightenclosed by$$ [f(x) - \sigma_f(x), f(x) + \sigma_f(x)], $$see
straight_std.- 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.- kwargs
Additional keyword arguments are passed to
matplotlib.pyplot.fill_between.