mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-11 06:47:14 +02:00
WIP
This commit is contained in:
14
python/examples/play.py
Normal file
14
python/examples/play.py
Normal file
@ -0,0 +1,14 @@
|
||||
import matplotlib.pyplot as plt
|
||||
import numpy as np
|
||||
plt.ion()
|
||||
|
||||
import aare
|
||||
from pathlib import Path
|
||||
|
||||
p = Path('/Users/erik/data/aare_test_data/jungfrau/jungfrau_single_master_0.json')
|
||||
|
||||
f = aare.File(p)
|
||||
frame = f.read_frame()
|
||||
|
||||
fig, ax = plt.subplots()
|
||||
im = ax.imshow(frame, cmap='viridis')
|
Reference in New Issue
Block a user