28 Commits

Author SHA1 Message Date
5e96a20f23 Evaluating ToF to extract sub-frames and assign to correct neutron pulse not chopper pulse (#4)
All checks were successful
Unit Testing / test (3.10) (push) Successful in 54s
Unit Testing / test (3.11) (push) Successful in 49s
Unit Testing / test (3.8) (push) Successful in 50s
Unit Testing / test (3.12) (push) Successful in 55s
Unit Testing / test (3.9) (push) Successful in 54s
Interpolate neutorn times between chopper pulses and assign by ToF. If ToF too short (long wavelengths from previous pulse), assign them to the previous sub-pulse.

Reviewed with Jochen

Reviewed-on: #4
Co-authored-by: Artur Glavic <artur.glavic@psi.ch>
Co-committed-by: Artur Glavic <artur.glavic@psi.ch>
2026-03-10 15:00:10 +01:00
29d406a290 Add unit tests for filterinc capability and automatic spin state splitting
Some checks failed
Unit Testing / test (3.12) (push) Successful in 46s
Unit Testing / test (3.10) (push) Successful in 48s
Unit Testing / test (3.9) (push) Successful in 45s
Unit Testing / test (3.8) (push) Successful in 48s
Release / test (3.12) (push) Failing after 10s
Release / build-ubuntu-latest (push) Has been cancelled
Release / build-windows (push) Has been cancelled
Release / release (push) Has been cancelled
Release / test (3.8) (push) Has been cancelled
Release / test (3.10) (push) Has been cancelled
Release / test (3.9) (push) Has been cancelled
2026-02-27 11:44:56 +01:00
7f0e6f1026 Allow option to filter pulses where a switch occured, implement updating of headerin information from filtered log-values for temp., filed and polarization, don't report empty sample environment values
All checks were successful
Unit Testing / test (3.10) (push) Successful in 41s
Unit Testing / test (3.12) (push) Successful in 41s
Unit Testing / test (3.9) (push) Successful in 40s
Unit Testing / test (3.8) (push) Successful in 41s
2026-02-27 10:08:49 +01:00
6298487bf3 fix output name having colon by default, add 2026 dataset and test for logfilter with polarization
Some checks failed
Unit Testing / test (3.10) (push) Failing after 29s
Unit Testing / test (3.8) (push) Failing after 27s
Unit Testing / test (3.9) (push) Failing after 27s
Unit Testing / test (3.12) (push) Successful in 35s
2026-02-27 08:35:56 +01:00
26b6057941 Try fixing test failure due to floating point precision issue
Some checks failed
Unit Testing / test (3.10) (push) Has been cancelled
Unit Testing / test (3.11) (push) Has been cancelled
Unit Testing / test (3.12) (push) Has been cancelled
Unit Testing / test (3.8) (push) Has been cancelled
Unit Testing / test (3.9) (push) Has been cancelled
2026-02-24 08:27:57 +01:00
1d8fea7498 Add further tests for all other event actions 2026-02-23 16:30:54 +01:00
d2fff51787 Start adding specific tests for event handling actions 2026-02-23 15:30:25 +01:00
8347942c15 Fix qzRange being ignored in filtering if high value not below 0.5 2026-02-23 10:11:33 +01:00
99af021b3e separte hdf file header reading, start events2histogram and fix test 2025-10-07 11:20:56 +02:00
aacbe3ed6f separate AssociatePulseWithMonitor and FilterMonitorThreshold to allow monitor use without wallTime 2025-10-07 10:29:02 +02:00
6c0c2fcab8 rename AmorReduction to ReflectivityReduction and use single config object to stay comparable with future reductions 2025-10-07 08:48:15 +02:00
2d2f0ec5e4 Add plot command line option and method for projections 2025-10-06 17:59:09 +02:00
cec4fc2965 Modifictaions from discussion, some reduction issues remain (time slicing, q-calculation) 2025-10-06 15:34:21 +02:00
2467ba38b8 Move execution script from eos.py to package and rename package to eos, add entry point to setup 2025-10-06 11:38:52 +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
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
cb4415ad3d Separate PathResolver and Normalisation, prepare different event treatment for normalization and datafiles 2025-10-02 18:03:19 +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
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
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
12d0370807 add test data and pytest action to repository 2024-10-30 12:59:00 +01:00
b1e7b68a21 update tests to new configuration parameters 2024-10-30 12:32:24 +01:00
a7e88db425 Update test cases and make old datafile work 2024-09-24 14:51:27 +02:00
7274e1bc85 Add profiling to tests and separate read_individual_data into sub-methods 2024-03-05 10:19:21 +01:00
8300e842dc Add test cases for full reduction with and w/o slicing (data to be stored in "test_data" folder) 2024-03-04 17:39:10 +01:00