32 Commits

Author SHA1 Message Date
froejdh_e
d1292a4c1e Merge branch 'developer' into fit_scurve 2025-04-25 12:33:14 +02:00
froejdh_e
78406dc881 merged developer 2025-04-25 11:05:09 +02:00
Erik Fröjdh
7b5e32a824
Api extra (#166)
Changes to be able to run the example notebooks: 

- Invert gain map on setting (multiplication is faster but user supplies
ADU/energy)
- Cast after applying gain map not to loose precision (Important for
int32 clusters)
- "factor" for ClusterFileSink 
- Cluster size available to be able to create the right file sink
2025-04-25 10:31:16 +02:00
froejdh_e
86d343f5f5 merged with developer
Some checks failed
Build on RHEL9 / build (push) Successful in 2m9s
Build on RHEL8 / build (push) Failing after 2m32s
2025-04-23 11:45:04 +02:00
Erik Fröjdh
326941e2b4
Custom base for decoding ADC data (#163)
New function apply_custom_weights (can we find a better name) that takes
a uint16 and a NDView<double,1> of bases for the conversion. For each
supplied weight it is used as base (instead of 2) to convert from bits
to a double.

---------

Co-authored-by: siebsi <sieb.patr@gmail.com>
2025-04-22 15:20:46 +02:00
Mazzoleni Alice Francesca
14211047ff added function warpper around ClusterFinderMT and ClusterCollector to construct object 2025-04-16 14:22:44 +02:00
froejdh_e
7c93632605 tests and fix 2025-04-14 16:38:25 +02:00
Mazzoleni Alice Francesca
53a90e197e added additional tests
All checks were successful
Build on RHEL9 / buildh (push) Successful in 1m52s
2025-04-10 10:41:58 +02:00
Mazzoleni Alice Francesca
76f050f69f solved merge conflict
Some checks failed
Build on RHEL9 / buildh (push) Failing after 1m22s
2025-04-10 09:21:50 +02:00
froejdh_e
894065fe9c added utility plot
All checks were successful
Build on RHEL9 / buildh (push) Successful in 1m48s
2025-04-09 12:19:14 +02:00
Erik Fröjdh
f16273a566
Adding support for Jungfrau .dat files (#152)
All checks were successful
Build on RHEL9 / buildh (push) Successful in 1m48s
closes #150 

**Not addressed in this PR:** 

- pixels_per_frame, bytes_per_frame and tell should be made cost in
FileInterface
2025-04-08 15:31:04 +02:00
froejdh_e
10e4e10431 function signature for push back 2025-04-07 15:33:37 +02:00
Erik Fröjdh
11cd2ec654
Interpolate (#137)
- added eta based interpolation
2025-03-18 17:45:38 +01:00
febefd92ad Implemented scurve and scurve2 fitting. Tested the version without yerr for both 1D and 3D - behaves like lmfit. The initial condition method could be refined 2025-02-21 10:26:41 +01:00
Erik Fröjdh
7309cff47c
Added fitting with lmfit (#128)
- added stand alone fitting using:
https://jugit.fz-juelich.de/mlz/lmfit.git
- fit_gaus, fit_pol1 with and without errors
- multi threaded fitting

---------

Co-authored-by: JulianHeymes <julian.heymes@psi.ch>
2025-02-12 16:35:48 +01:00
froejdh_e
caf7b4ecdb added docs for ClusterFinderMT 2025-01-10 10:22:04 +01:00
froejdh_e
cc95561eda MultiThreaded Cluster finder 2025-01-09 16:53:22 +01:00
froejdh_e
a0f481c0ee mod pedestal 2024-12-12 14:34:10 +01:00
froejdh_e
8bf9ac55ce modified read_n also for File and RawFile 2024-11-27 09:31:57 +01:00
Erik Fröjdh
7ffd732d98
ported reading clusters (#95) 2024-11-14 16:22:38 +01:00
Erik Fröjdh
a0b6c4cc03
Merge branch 'main' into developer 2024-11-11 18:52:23 +01:00
froejdh_e
ecf1b2a90b WIP 2024-11-11 17:13:48 +01:00
Erik Fröjdh
d8d1f0c517
Taking v1 as the first release (#92)
- file reading
- decoding master file
2024-11-07 10:14:20 +01:00
Erik Fröjdh
9c220bff51 added simple decoding of scan parameters 2024-11-07 08:14:33 +01:00
Erik Fröjdh
cbfd1f0b6c ClusterFinder 2024-11-06 12:41:41 +01:00
Erik Fröjdh
25812cb291 RawFile is now using RawMasterFile 2024-11-06 09:10:09 +01:00
Erik Fröjdh
80a39415de added CtbRawFile 2024-11-05 14:36:18 +01:00
Erik Fröjdh
49da039ff9 working on 05 2024-10-31 15:35:43 +01:00
Erik Fröjdh
563c39c0dd decoding of old Moench03 2024-10-31 11:53:24 +01:00
Erik Fröjdh
a466887064 added variable cluster finder 2024-10-30 17:22:57 +01:00
Erik Fröjdh
c509e29b52 building with scikit build 2024-10-29 11:19:20 +01:00
Erik Fröjdh
abb1d20ca3 WIP 2024-10-28 12:25:47 +01:00