Пример #1
0
 def disc_infid_vs_th(x):
     cdf0 = gaussianCDF(x,
                        amplitude=1,
                        mu=bv['A_center'],
                        sigma=bv['A_sigma'])
     cdf1 = gaussianCDF(x,
                        amplitude=1,
                        mu=bv['B_center'],
                        sigma=bv['B_sigma'])
     return (1 - np.abs(cdf0 - cdf1)) / 2
Пример #2
0
 def CDF_1_discr(x):
     return gaussianCDF(x,
                        amplitude=1,
                        mu=bv['B_center'],
                        sigma=bv['B_sigma'])