Module darkbins
[hide private]
[frames] | no frames]

Source Code for Module darkbins

1  """Define bins for dark current distribution calculations""" 
2  import numpy as np 
3   
4  x0 = 2. 
5  x1 = 20000. 
6  dx = 0.05 
7  bins = 10**np.arange(np.log10(x0), np.log10(x1), dx) 
8