frame reading for cluster file

This commit is contained in:
Erik Fröjdh
2024-11-15 16:13:46 +01:00
parent e77b615293
commit 17f8d28019
8 changed files with 84 additions and 42 deletions

View File

@ -6,8 +6,10 @@ from aare import ClusterFile
base = Path('~/data/aare_test_data/clusters').expanduser()
# f = ClusterFile(base / 'beam_En700eV_-40deg_300V_10us_d0_f0_100.clust')
f = ClusterFile(base / 'single_frame_97_clustrers.clust')
f = ClusterFile(base / 'beam_En700eV_-40deg_300V_10us_d0_f0_100.clust')
# f = ClusterFile(base / 'single_frame_97_clustrers.clust')
for i in range(10):
fn, cl = f.read_frame()
print(fn, cl.size)