mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-01-01 18:01:24 +01:00
add python bindings
This commit is contained in:
0
python/example/__init__.py
Normal file
0
python/example/__init__.py
Normal file
7
python/example/read_frame.py
Normal file
7
python/example/read_frame.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from aare import File, Frame
|
||||
|
||||
if __name__ == "__main__":
|
||||
file = File("/home/bb/github/aare/data/jungfrau_single_master_0.json")
|
||||
frame = file.get_frame(0)
|
||||
print(frame.rows, frame.cols)
|
||||
print(frame.get(0,0))
|
||||
Reference in New Issue
Block a user