Commit Graph

147 Commits

Author SHA1 Message Date
8f2695f8a7 Reorganize event actions to separate numba functions 2025-10-06 09:54:17 +02:00
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
2a10597dc3 Update test case to new data, fix sample model from config parameter, add git attributes for lfs of test files 2025-10-06 09:17:41 +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
93405c880d Ensure normalization file load from file is valid by encoding all actions performed on file with input parameters 2025-10-03 11:40:56 +02:00
68f671f447 Perform reduction action for normalization with less steps directly in reducer class, prepare same for datasets 2025-10-02 18:26:05 +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
fe2975c71d Fix some bugs from new options configuration and make test run again 2025-10-01 14:11:16 +02:00
1e78325663 Include old file_reader updates from reorganisation branch 2025-10-01 13:09:22 +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
082d96510b reorganised file expansion 2025-09-08 16:53:52 +02:00
e24ce01419 Put output format evaluation in config and use StrEnum for it 2025-09-08 16:09:00 +02:00
68e592cfe4 commented out "autoscale" - has to be fixed 2025-09-05 14:45:54 +02:00
03e2f461cb completed help and group entries for command line options 2025-09-05 14:39:46 +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
319cbb4c2c Start implementing new way to build command line arguments and defaults based on options classes directly 2025-09-03 12:47:39 +02:00
d1e075cca4 adapted otions to new command-line grammar 2025-09-02 19:18:41 +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
729332f49d Bump version number 2025-01-30 17:04:22 +01:00
155a167e26 update version date
Some checks failed
Release / build-ubuntu-latest (push) Failing after 2s
Release / build-windows (push) Has been cancelled
Release / release (push) Has been cancelled
2025-01-30 13:38:45 +01:00
ee34cc96d4 direct beam reference fixed 2025-01-29 13:54:56 +01:00
96681c8f81 fix case where there is no pulse missing 2025-01-28 16:17:48 +01:00
87a246196f apply scaling factor when time slicing 2025-01-28 16:02:54 +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