iq_readout.pdfs.simple_2d_gaussian#

simple_2d_gaussian(z, mu_x, mu_y, sigma)[source]#

Probability density function of a 2D Gaussian.

It has mean (mu_x, mu_y) and covariance matrix diag(sigma**2, sigma**2).

Parameters:
znp.ndarray(…, 2)

Points in the 2D space.

mu_x

Mean of the first coordinate.

mu_y

Mean of the second coordinate.

sigma

Standard deviation of the two coordinates.

Returns:
probnp.ndarray(…)

Values of the probability density function.