Commit Graph

61 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
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
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
753b32203a Start separating code into different files 2025-10-01 13:02:09 +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
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
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
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
a947a70d2d included polarisation info, using chopper trigger signal for normalisation 2025-05-29 11:26:37 +02:00
ee34cc96d4 direct beam reference fixed 2025-01-29 13:54:56 +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
9f2dfbcbe1 corrected output about automatic scaling 2024-12-16 08:15:11 +01:00
eb54e52c66 changed format for a logging output about low monitor signal 2024-12-04 10:51:05 +01:00
ad8245a9a0 relative theta range over absolute over default 2024-11-26 15:27:07 +01:00
5cce1bedc9 fixed a bug in the time-monitor calculation and added units 2024-10-24 08:54:43 +02:00
182cc5ab3d added TODO for the resolution calculation 2024-10-22 17:05:09 +02:00
7f2d5cf765 added monitorType 2024-10-22 09:43:44 +02:00
b848d66290 changed path variable names + new option lowCurrentThreshold 2024-10-04 15:10:11 +02:00
1f394b0e86 replaced scipy interpolation by dedicated routine (by Artur) 2024-09-27 16:27:50 +02:00
69620d0f16 removed doupble normalisation.... 2024-09-26 11:04:51 +02:00
0e727ce591 fixed monitor for normalisation measurement 2024-09-26 10:24:37 +02:00
f2ebe5ce0c new method for time / protonCharge normalisation - compatible with old data files 2024-09-26 10:09:15 +02:00
acc508e9ea timestamps are now all of type np.int64 with unit ns 2024-09-25 16:35:31 +02:00
c1ccfb039e fix issue with integers on windows where default is 32bit 2024-09-25 11:27:41 +02:00
128a8da358 Fix use of class method with wrong object instead of instance method, 2024-09-24 14:29:12 +02:00
af569e538e Readability improvement 2024-09-24 14:19:32 +02:00
fb8cb6e60a started on normalisation based on beam current per pulse 2024-09-19 15:06:13 +02:00
10d73e344f using div to determin the theta range for reduction 2024-09-13 15:15:25 +02:00
e0d08b7af2 more info in orso header, fixed typos 2024-09-13 08:06:30 +02:00
e651b64b9c introduced underillumination option 2024-09-11 18:22:39 +02:00
af2cb1037a using proton charge as monitor, not tested with norm file 2024-09-05 09:15:13 +02:00
a1b01b13ab change sign of q_z for measurements from below 2024-09-04 09:21:36 +02:00
05e35ca4e0 added qx to Rlt file 2024-08-12 12:26:51 +02:00
96772ed72d added new ways to calc alphaI 2024-06-18 17:46:49 +02:00
965e5125c8 expanded the use of qzRange 2024-05-31 08:30:10 +02:00
21259acda4 removed and altered comments 2024-05-31 07:34:45 +02:00
140e3192dd fix of wrong angle in .norm file 2024-05-14 14:46:46 +02:00
ece5d8e22e added some comments for binning on q-grid 2024-04-19 14:14:08 +02:00
86fddb4d53 new management of defaults, migration of 'call_string' 2024-03-14 10:12:04 +01:00