3 from numpy
import sqrt
, double
, power
8 LAMBDA
= double('2e-6')
13 def get_characteristic(x
):
14 if not isinstance(x
, double
):
15 raise TypeError('argument must be numpy.float64')
22 # val = step / (C * sqrt(2))
23 c
= get_characteristic(val
)
24 return power(10, double(c
))