iq_readout.pdfs.decay_amplitude_2d_pdf#

decay_amplitude_2d_pdf(z, mu_0_x, mu_0_y, mu_1_x, mu_1_y, sigma, angle, t1_norm)[source]#

Probability density function corresponding to a decay_amplitude_1d_pdf in the (parallel) projected axis along mu_0 and mu_1 and a simple_1d_gaussian in the perpendicular dimension

Parameters:
znp.ndarray(…, 2)

Points in the 2D space

mu_i_x

Mean of the first coordinate for the i^th Gaussian

mu_i_y

Mean of the second coordinate for the i^th Gaussian

sigma

Standard deviation of the two coordinates for both Gaussians

angle

Weight of the 1st Gaussian is sin(angle)**2 and of the 2nd Gaussian is cos(angle)**2 to ensure that the PDF is normalized

t1_norm

T1 normalized with respect to the measurement duration

Returns:
probnp.ndarray(…)

Values of the probability density function