add python bindings

This commit is contained in:
Bechir
2024-03-07 03:09:43 +01:00
parent 22fb8763be
commit 5690a61284
10 changed files with 147 additions and 46 deletions

View File

View 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))