- qspec.analyze.draw_sigma2d ( x , y , sigma_x , sigma_y , corr , n = 1 , ** kwargs )[source]
Draws the $n\sigma$ bounds of the given data points $(x, y)$ with standard deviations $(\sigma_x, \sigma_y)$ and correlation $\rho_{xy}$.
- Parameters:
-
- xndarray | Iterable
The $x$ data.
- yndarray | Iterable
The $y$ data.
- sigma_xndarray | Iterable
The standard deviation $\sigma_x$ of the
xdata.- sigma_yndarray | Iterable
The standard deviation $\sigma_y$ of the
ydata.- corrndarray | Iterable
The correlation coefficients $\rho_{xy}$ between the
xandydata.- nint
The maximum sigma region $n$ to draw.
- kwargsNone
Additional keyword arguments are passed to
plt.plot(). Use keyfmtto specify the third argument ofplt.plot().
- Returns:
-
- outNone