Commit Graph

90 Commits

Author SHA1 Message Date
f6bda1160e Finalize implementation of new file_reader interface into reduction and change tests to run from base path 2025-10-06 09:46:03 +02:00
9f0de521ee Add sample model parsing from hdf 2025-10-06 08:19:49 +02:00
650730ce12 Move calculation codes out of reducer and add projection classes that handle histogramming 2025-10-03 18:31:36 +02:00
cb4415ad3d Separate PathResolver and Normalisation, prepare different event treatment for normalization and datafiles 2025-10-02 18:03:19 +02:00
2a89e58698 Dynamically extend event recarray and only filter events by setting mask values. Masks are now bitmasks to track which filter applied where. 2025-10-02 16:41:09 +02:00
5ecdecfe24 Extract some actions from file reader to event actions as they depend on series time or parameter overwrites 2025-10-02 12:23:23 +02:00
ae6aa9d24d make refactored reader work run without time-slicing 2025-10-02 08:25:11 +02:00
39b267e96c Start including refactored data reader 2025-10-01 18:23:12 +02:00
1d74d947de Remove old datasets, start update full analysis test 2025-10-01 13:02:26 +02:00
c540fa16fe Move event data type specification in separate method and decouple event handling from file reader by using a Protocol 2025-10-01 13:02:25 +02:00
7cf7ff8e61 All actions within old file_reader now implemented as new style event transformations 2025-10-01 13:02:25 +02:00
753b32203a Start separating code into different files 2025-10-01 13:02:09 +02:00
d936f7ae7d Add option to read dataset partially by limiting maximum events to be read 2025-10-01 13:01:21 +02:00
429bd47c59 Move event data to record arrays to keep events/packets/pulses connected 2025-10-01 13:01:21 +02:00
1a3c637b39 Begin refactoring file_reader to separate data readout, corrections and other actions to decouple AmorData class 2025-10-01 13:01:21 +02:00
f46eefb0cb Start cleaning up with separating numba check from function usage 2025-10-01 13:01:21 +02:00
0697e5ce80 typo fix 2025-09-30 13:02:00 +02:00
f88cea417c orso model ca now be a dict and read from yaml file 2025-09-30 10:21:01 +02:00
ae5b3e789e added TODO for polarization 2025-09-15 17:30:59 +02:00
03539eaea6 division by zero in ts mode fixed 2025-09-05 10:42:31 +02:00
f5b4f8bba2 changed code formatting, fixed the pc normalisation 2025-09-05 10:22:45 +02:00
7f01f89f2b Start implementing new way to build command line arguments and defaults based on options classes directly 2025-08-27 17:19:40 +02:00
b6e3cb2eef fixed signe in chopper phase calculation 2025-08-27 08:24:10 +02:00
443cb30b79 fixes in the polarisation handlinge 2025-06-30 15:41:20 +02:00
057742cabd taking chopper info from event stream, new debug output, fix for chopper offset 2025-06-24 11:06:07 +02:00
2689a969f1 fallback in case no chopper trigger signal is available, typo fixes 2025-06-13 12:38:26 +02:00
6102ed7123 chopper phases defaults, e2h_2025 2025-06-08 15:50:08 +02:00
Jochen Stahn
aa7919b83d file_reader: cache lookup extended 2025-06-08 12:06:43 +02:00
1b0df0ec45 some polishing 2025-05-30 11:18:59 +02:00
5f94cc7b92 adapted parameter pathes for hdf file, introduced chopper phases from file 2025-05-29 18:11:51 +02:00
a947a70d2d included polarisation info, using chopper trigger signal for normalisation 2025-05-29 11:26:37 +02:00
96681c8f81 fix case where there is no pulse missing 2025-01-28 16:17:48 +01:00
3607de9864 replace pulseTimeS generation in for loop by filling of pulse gaps 2025-01-28 16:00:52 +01:00
23e310ba6a removed fix coded proton time offset 2024-12-16 13:50:46 +01:00
55a7b7270c minor cleanup 2024-12-13 14:33:04 +01:00
f81582554e remove unnecessary requirement for pytz and insert timezone into datetime instead of recreation 2024-12-13 14:17:51 +01:00
Jochen Stahn
c1dc194548 different method to add timezone 2024-12-10 14:39:59 +01:00
cf9c0018a5 tried to handle summer time correctly.... 2024-12-09 10:03:56 +01:00
03ac04ab05 removed control output 2024-12-06 14:59:18 +01:00
b2df980a21 fix of handling of pulses for more than one file 2024-12-06 10:36:25 +01:00
29edbce5bc change iso time offset to include minutes for compatibility with older python 2024-12-03 15:02:25 +01:00
a0b0ff436c replace calculated offset by Iso string 2024-12-03 14:51:09 +01:00
2cae45659c correct for local timezone issues 2024-12-03 14:12:37 +01:00
9693951233 explicitly define utc as timezone for file 2024-12-03 13:52:29 +01:00
7dcede44b6 removed obsolete control output 2024-11-28 09:03:57 +01:00
f6f853e6e4 commented VERY time consuming control output: events per pulse 2024-11-27 08:29:33 +01:00
33b8829a09 check for empty files introduced 2024-11-22 11:24:17 +01:00
1bd1100035 changes in the "pulse generation" - not yet finished 2024-11-08 08:51:56 +01:00
4134e106ff improved algorythm for pulse generation 2024-10-25 15:35:47 +02:00
5cce1bedc9 fixed a bug in the time-monitor calculation and added units 2024-10-24 08:54:43 +02:00