nanotune.math.gaussians

nanotune.math.gaussians.gaussian1D_fct(height: float, center: float, width: float)[source]
nanotune.math.gaussians.gaussian1D_pdf(center: float, width: float)[source]
nanotune.math.gaussians.gaussian2D_pdf(mean_x: float, mean_y: float, cov_xx: float, cov_xy: float, cov_yx: float, cov_yy: float)[source]
nanotune.math.gaussians.gaussian2D_fct(height: float, center_x: float, center_y: float, width_x: float, width_y: float)[source]

Use like this: v_x: voltages on x axis v_y: votlages on y axis

gauss = gaussian2D(1, center_gauss_x , center_gauss_y, width_x, width_y) Xin, Yin = np.meshgrid(v_x, v_y)

gauss_data = gauss(Xin, Yin)

nanotune.math.gaussians.moments2D(data: ndarray[Any, dtype[float64]])[source]