iq_readout.pdfs.simple_2d_gaussian_triple_mixture#
- simple_2d_gaussian_triple_mixture(z, mu_0_x, mu_0_y, mu_1_x, mu_1_y, mu_2_x, mu_2_y, sigma, angle1, angle2)[source]#
Probability density function corresponding to the sum of three 2D Gaussians.
The three Gaussians have means
(mu_0_x, mu_0_y),(mu_1_x, mu_1_y), and(mu_2_x, mu_2_y), and same covariance matrixdiag(sigma**2, sigma**2).The weight of the fist Gaussian is
sin(angle2)**2 * cos(angle1)**2and of the second Gaussian issin(angle2)**2 * sin(angle1)**2and of the thrid Gaussian iscos(angle2)**2to ensure that the probability density function is normalized.- Parameters:
- znp.ndarray(…, 2)
Points in the 2D space
- mu_0_x
Mean of the first coordinate for the first Gaussian.
- mu_0_y
Mean of the second coordinate for the firs Gaussian.
- mu_1_x
Mean of the first coordinate for the second Gaussian.
- mu_1_y
Mean of the second coordinate for the second Gaussian.
- mu_2_x
Mean of the first coordinate for the thrid Gaussian.
- mu_2_y
Mean of the second coordinate for the thid Gaussian.
- sigma
Standard deviation of the two coordinates for the Gaussians.
- angle1
Weight factor for the Gaussian mixture.
- angle2
Weight factor for the Gaussian mixture.