Closed arrellc closed 5 years ago
Running res = se.process_eco('/sf/alvra/data/p17589/res/PhotoDiag/scan_info/STT_calib_2002_scan_info.json')
returns an indexing error: TypeError Traceback (most recent call last) /sf/photo/miniconda/lib/python3.6/site-packages/h5py/_hl/selections.py in select(shape, args, dsid) 84 try: ---> 85 int(a) 86 if isinstance(a, np.ndarray) and a.shape == (1,):
TypeError: only size-1 arrays can be converted to Python scalars
During handling of the above exception, another exception occurred:
ValueError Traceback (most recent call last)
OK, in the files of that run pulse_ids are not consecutive and have large gaps. I need to implement a more robust correlation for event_codes and data then.
pulse_id
Running res = se.process_eco('/sf/alvra/data/p17589/res/PhotoDiag/scan_info/STT_calib_2002_scan_info.json')
returns an indexing error: TypeError Traceback (most recent call last) /sf/photo/miniconda/lib/python3.6/site-packages/h5py/_hl/selections.py in select(shape, args, dsid) 84 try: ---> 85 int(a) 86 if isinstance(a, np.ndarray) and a.shape == (1,):
TypeError: only size-1 arrays can be converted to Python scalars
During handling of the above exception, another exception occurred:
ValueError Traceback (most recent call last)