ATLAS Offline Software
python
distributions
Functions
python.distributions Namespace Reference
Functions
def
CVM
(cvm,
mean
, var)
Function Documentation
◆
CVM()
def python.distributions.CVM
(
cvm
,
mean
,
var
)
Definition at line
5
of file
distributions.py
.
5
def
CVM
(cvm, mean, var):
6
z = (cvm - mean) / (45. * var)**0.5 + 1./6
7
z_i = dt.cvm_ztable
8
p_i = dt.cvm_ptable
9
if
z > z_i[-1]:
10
return
1.
11
elif
z < z_i[0]:
12
return
0.
13
else
:
14
return
np.interp(z, z_i, p_i)
python.distributions.CVM
def CVM(cvm, mean, var)
Definition:
distributions.py:5
Generated on Wed Jan 22 2025 22:03:49 for ATLAS Offline Software by
1.8.18