mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-11 06:47:14 +02:00
decoding of old Moench03
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
# Make the compiled classes that live in _aare available from aare.
|
||||
from ._aare import File
|
||||
from ._aare import VarClusterFinder
|
||||
from ._aare import VarClusterFinder
|
||||
from ._aare import GenerateMoench03PixelMap
|
@ -5,10 +5,17 @@ plt.ion()
|
||||
import aare
|
||||
from pathlib import Path
|
||||
|
||||
p = Path('/Users/erik/data/aare_test_data/jungfrau/jungfrau_single_master_0.json')
|
||||
# p = Path('/Users/erik/data/aare_test_data/jungfrau/jungfrau_single_master_0.json')
|
||||
|
||||
f = aare.File(p)
|
||||
# f = aare.File(p)
|
||||
# frame = f.read_frame()
|
||||
|
||||
# fig, ax = plt.subplots()
|
||||
# im = ax.imshow(frame, cmap='viridis')
|
||||
|
||||
|
||||
fpath = Path('/Users/erik/data/Moench03old/test_034_irradiated_noise_g4_hg_exptime_2000us_master_0.json')
|
||||
f = aare.File(fpath)
|
||||
frame = f.read_frame()
|
||||
|
||||
fig, ax = plt.subplots()
|
||||
im = ax.imshow(frame, cmap='viridis')
|
||||
plt.imshow(frame)
|
Reference in New Issue
Block a user