15 lines
416 B
Python
15 lines
416 B
Python
from creader import ClusterFileReader
|
|
import numpy as np
|
|
|
|
maxph=100000000
|
|
maxph=100
|
|
|
|
from pathlib import Path
|
|
fpath = Path('/Users/erik/data/clusters/beam_En700eV_-40deg_300V_10us_d0_f0_100.clust')
|
|
# r = ClusterFileReader("/mnt/moench_data/Moench_LGAD_SIM_Nov22/moenchLGAD202211/clustW17new/beam_En800eV_-40deg_300V_10us_d0_f5_0.clust")
|
|
|
|
r = ClusterFileReader(fpath.as_posix())
|
|
|
|
a=r.read(maxph)
|
|
# print(a[::100000])
|