iq_readout.pdfs.simple_1d_gaussian_double_mixture#
- simple_1d_gaussian_double_mixture(x, mu_0, mu_1, sigma, angle)[source]#
Probability density function corresponding to the sum of two 1D Gaussians with the same standard deviation.
It has mean
mu_0andmu_1, and standard deviationsigma.- Parameters:
- xnp.ndarray(…)
Points in the 1D space.
- mu_0
Mean for the first Gaussian.
- mu_1
Mean for the second Gaussian.
- sigma
Standard deviation of the two coordinates for both Gaussians.
- angle
Weight of the first Gaussian is sin(angle)**2 and of the second Gaussian is cos(angle)**2 to ensure that the probability density function is normalized.
- Returns:
- probnp.ndarray(…)
Values of the probability density function.