This commit is contained in:
Erik Frojdh
2019-04-15 17:22:31 +02:00
parent 77c1ffffb1
commit 248306d570
4 changed files with 14 additions and 6 deletions

View File

@ -5,11 +5,19 @@ sys.path.append(os.path.join(os.getcwd(), 'bin'))
from sls_detector import Eiger
from sls_detector import ExperimentalDetector
from _sls_detector.io import read_ctb_file
from _sls_detector.io import read_my302_file
d = Eiger()
e = ExperimentalDetector()
# for i in range(200):
# a = read_my302_file('/home/l_frojdh/Downloads/run_d0_5.raw', i, 24)
# print(f'{i}: {(a==5).sum()}')
a = read_my302_file('/home/l_frojdh/Downloads/run_d0_5.raw', 104, 24)
# ncols = 192
# start = 600
# end = 1800