70 Commits

Author SHA1 Message Date
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
fc1c9f35d6
Merge branch 'main' into developer 2025-02-18 21:52:20 +01:00
Erik Fröjdh
6a83988485
Added chi2 to fit results (#131)
- fit_gaus and fit_pol1 now return a dict
- calculate chi2 after fit
- cleaned up code
2025-02-18 21:13:27 +01:00
Erik Fröjdh
dadf5f4869
Added fitting, fixed roi etc (#129)
Co-authored-by: Patrick <patrick.sieberer@psi.ch>
Co-authored-by: JulianHeymes <julian.heymes@psi.ch>
2025-02-12 16:50:31 +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
Erik Fröjdh
c0c5e07ad8
added decoding of adc_sar_04 (#127) 2025-02-12 16:17:32 +01:00
Erik Fröjdh
d86cb533c8
Fix minor warnings (#126)
- Unused variables
- signed vs. unsigned
- added -flto=auto
2025-02-11 11:48:01 +01:00
Erik Fröjdh
4c750cc3be
Fixing ROI read of RawFile (#125)
- Bugfixes
- New abstraction for detector geometry
- Tests for updating geo with ROI
2025-02-11 11:08:22 +01:00
Erik Fröjdh
5a3ca2ae2d
Decoding for ADC SAR 05 64->16bit (#124)
Co-authored-by: Patrick <patrick.sieberer@psi.ch>
2025-02-05 14:40:26 +01:00
froejdh_e
6cde968c60 summing 2x2 2025-01-15 16:12:06 +01:00
froejdh_e
f6d736facd docs for ClusterFile 2025-01-15 09:15:41 +01:00
froejdh_e
d0f435a7ab bounds checking on subfiles 2025-01-10 19:02:50 +01:00
froejdh_e
7ce02006f2 clear pedestal 2025-01-10 17:26:23 +01:00
froejdh_e
7550a2cb97 fixing read bug 2025-01-10 15:33:56 +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
dc9e10016d WIP 2025-01-08 16:45:24 +01:00
froejdh_e
acdce8454b moved pd to double 2025-01-07 15:01:43 +01:00
froejdh_e
e6098c02ef bumped version 2024-12-16 14:24:46 +01:00
froejdh_e
f88b53387f WIP 2024-12-12 17:58:04 +01:00
froejdh_e
a0f481c0ee mod pedestal 2024-12-12 14:34:10 +01:00
froejdh_e
b3a9e9576b WIP 2024-12-11 16:27:36 +01:00
froejdh_e
60534add92 WIP 2024-12-11 09:54:33 +01:00
froejdh_e
7f2a23d5b1 accumulating clusters in one array 2024-12-10 22:00:12 +01:00
froejdh_e
6a150e8d98 WIP 2024-12-10 17:21:05 +01:00
Erik Fröjdh
659f1f36c5
AARE_INSTALL_PYTHONEXT (#109)
- added AARE_INSTALL_PYTHONEXT option to install also python files in
aare folder
2024-11-29 15:28:02 +01:00
2e4a491d7a CMAKE_INSTALL_PREFIX not needed to specify destination folder and removed 2024-11-29 14:38:32 +01:00
fdce2f69b9 python 3.10 required in cmake 2024-11-29 11:07:05 +01:00
froejdh_e
115dfc0abf bugfix on iteration and returning master file 2024-11-28 21:14:40 +01:00
31b834c3fd added AARE_INSTALL_PYTHONEXT option to install python in make install, which also installs the python files in the aare folder 2024-11-28 15:18:13 +01:00
froejdh_e
8bf9ac55ce modified read_n also for File and RawFile 2024-11-27 09:31:57 +01:00
froejdh_e
8e3d997bed read_n returns remaining frames 2024-11-26 12:07:17 +01:00
d48482e9da Modified moench05 transform: new firmware (moench05), legacy firmware (moench05_old), 1g readout (moench05_1g) 2024-11-25 16:39:08 +01:00
Erik Fröjdh
9f7cdbcb48 conversion warnings 2024-11-18 18:18:55 +01:00
Erik Fröjdh
17f8d28019 frame reading for cluster file 2024-11-15 16:13:46 +01:00
Erik Fröjdh
e77b615293
Added expression templates (#98)
- Works with NDArray
- Works with NDView
2024-11-15 15:17:52 +01:00
Erik Fröjdh
0d058274d5 WIP 2024-11-14 17:03:16 +01:00
Erik Fröjdh
7ffd732d98
ported reading clusters (#95) 2024-11-14 16:22:38 +01:00
Erik Fröjdh
17917ac7ea
Merge branch 'main' into developer 2024-11-12 16:44:15 +01:00
Erik Fröjdh
db936b6357 improved documentation 2024-11-12 16:39:03 +01:00
froejdh_e
2ee1a5583e WIP 2024-11-12 09:27:01 +01:00
Erik Fröjdh
349e3af8e1
Brining in changes (#93) 2024-11-11 19:59:55 +01:00
Erik Fröjdh
a0b6c4cc03
Merge branch 'main' into developer 2024-11-11 18:52:23 +01:00
Erik Fröjdh
5f21759c8c removed prints, bumped version 2024-11-11 18:22:18 +01:00
froejdh_e
ecf1b2a90b WIP 2024-11-11 17:13:48 +01:00
froejdh_e
b172c7aa0a starting work on ROI 2024-11-07 16:24: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
b2e5c71f9c MH02 1-4 counters 2024-11-06 21:32:03 +01:00
Erik Fröjdh
cbfd1f0b6c ClusterFinder 2024-11-06 12:41:41 +01:00