froejdh_e
d75a065e2b
added dist to ignore
2025-04-11 15:52:52 +02:00
froejdh_e
d84476cc4a
added release action
2025-04-11 15:48:41 +02:00
froejdh_e
4ede2318e3
wheel
2025-04-11 15:31:40 +02:00
froejdh_e
aade9e79b9
bumped cmake version to satisfy scikit-build-core
2025-04-11 15:05:54 +02:00
froejdh_e
15b17e805d
requirements and made component
2025-04-11 14:58:19 +02:00
froejdh_e
54526f51d7
WIP
2025-04-11 13:35:03 +02:00
Erik Fröjdh
6e4db45b57
Activated RH8 build on PSI gitea ( #155 )
Build on RHEL8 / build (push) Successful in 1m56s
Build on RHEL9 / build (push) Successful in 1m44s
2025-04-10 10:17:16 +02:00
Erik Fröjdh
8b0eee1e66
fixed warnings and removed ambiguous read_frame ( #154 )
...
Build on RHEL9 / buildh (push) Successful in 1m47s
Fixed warnings:
- unused variable in Interpolator
- Narrowing conversions uint64-->int64
Removed an ambiguous function from JungfrauDataFile
- NDarry read_frame(header&=nullptr)
- Frame read_frame()
NDArray and NDView size() is now signed
2025-04-09 17:54:55 +02:00
froejdh_e
894065fe9c
added utility plot
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 )
...
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
Erik Fröjdh
7db1ae4d94
Dev/gitea ci ( #151 )
...
Build on RHEL9 / buildh (push) Successful in 1m41s
Build and test on internal PSI gitea
2025-04-03 13:18:55 +02:00
froejdh_e
8cad7a50a6
fixed py
Build the package using cmake then documentation / build (ubuntu-latest, 3.12) (push) Failing after 42s
2025-04-01 15:00:03 +02:00
Erik Fröjdh
9d8e803474
Merge branch 'main' into developer
2025-04-01 14:35:27 +02:00
Erik Fröjdh
a42c0d645b
added roi, noise and gain ( #143 )
...
- Moved definitions of Cluster_2x2 and Cluster_3x3 to it's own file
- Added optional members for ROI, noise_map and gain_map in ClusterFile
**API:**
After creating the ClusterFile the user can set one or all of: roi,
noise_map, gain_map
```python
f = ClusterFile(fname)
f.set_roi(roi) #aare.ROI
f.set_noise_map(noise_map) #numpy array
f.set_gain_map(gain_map) #numpy array
```
**When reading clusters they are evaluated in the order:**
1. If ROI is enabled check that the cluster is within the ROI
1. If noise_map is enabled check that the cluster meets one of the
conditions
- Center pixel above noise
- Highest 2x2 sum above 2x noise
- 3x3 sum above 3x noise
1. If gain_map is set apply the gain map before returning the clusters
(not used for noise cut)
**Open questions:**
1. Check for out of bounds access in noise and gain map?
closes #139
closes #135
closes #90
2025-04-01 14:31:25 +02:00
Erik Fröjdh
6ad76f63c1
Fixed reading clusters with ROI ( #142 )
...
Build the package using cmake then documentation / build (ubuntu-latest, 3.12) (push) Failing after 9s
Fixed incorrect reading of clusters with ROI
closes #141
2025-03-24 14:28:10 +01:00
Erik Fröjdh
5d8ad27b21
Developer ( #138 )
...
Build the package using cmake then documentation / build (ubuntu-latest, 3.12) (push) Successful in 1m45s
- Fully functioning variable size cluster finder
- Added interpolation
- Bit reordering for ADC SAR 05
---------
Co-authored-by: Patrick <patrick.sieberer@psi.ch>
Co-authored-by: JulianHeymes <julian.heymes@psi.ch>
Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch>
Co-authored-by: xiangyu.xie <xiangyu.xie@psi.ch>
2025-03-20 12:52:04 +01:00
Erik Fröjdh
b529b6d33b
Merge branch 'main' into developer
Build the package using cmake then documentation / build (ubuntu-latest, 3.12) (push) Successful in 1m33s
2025-03-19 19:29:15 +01:00
froejdh_e
602b04e49f
bumped version number
Build the package using cmake then documentation / build (ubuntu-latest, 3.12) (push) Successful in 1m35s
2025-03-18 17:47:05 +01:00
Erik Fröjdh
11cd2ec654
Interpolate ( #137 )
...
- added eta based interpolation
2025-03-18 17:45:38 +01:00
Erik Fröjdh
1ad362ccfc
added action for gitea ( #136 )
Build the package using cmake then documentation / build (ubuntu-latest, 3.12) (push) Successful in 1m30s
2025-03-17 15:21:59 +01:00
froejdh_e
8ae6bb76f8
removed warnings added clang-tidy
2025-02-21 11:18:39 +01:00
Xiangyu Xie
1d2c38c1d4
Enable VarClusterFinder ( #134 )
...
Co-authored-by: xiangyu.xie <xiangyu.xie@psi.ch>
2025-02-19 16:11:24 +01:00
Erik Fröjdh
b7a47576a1
Multi threaded fitting and returning chi2 ( #132 )
...
Co-authored-by: Patrick <patrick.sieberer@psi.ch>
Co-authored-by: JulianHeymes <julian.heymes@psi.ch>
Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch>
2025.2.18
2025-02-19 07:19:59 +01:00
Erik Fröjdh
fc1c9f35d6
Merge branch 'main' into developer
2025-02-18 21:52:20 +01:00
froejdh_e
5d2f25a6e9
bumped version number
2025-02-18 21:44:03 +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
8abfc68138
fixed linking to lmfit ( #130 )
...
using "$<BUILD_INTERFACE:lmfit>" to exclude the target lmfit from being
included in the installed aare target
2025-02-18 15:54:52 +01:00
froejdh_e
8ff6f9f506
fixed linking to lmfit
2025-02-18 15:49:46 +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.2.12
2025-02-12 16:50:31 +01:00
froejdh_e
dcb9a98faa
bumped version
2025-02-12 16:49:30 +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
froejdh_e
2faa317bdf
removed debug line
2025-02-12 10:59:18 +01:00
Erik Fröjdh
f7031d7f87
Update CMakeLists.txt
...
Removed flto=auto which caused issues with gcc 8.5
2025-02-12 10:52:55 +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
froejdh_e
e96fe31f11
removed main and token
2025-02-05 15:55:55 +01:00
froejdh_e
cd5a738696
disable upload on dev
2025-02-05 15:44:45 +01:00
froejdh_e
1ba43b69d3
fix
2025-02-05 15:16:16 +01:00
froejdh_e
fff536782b
disable auto upload
2025-02-05 15:13:53 +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
078e5d81ec
docs
2025-01-15 16:40:34 +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
Erik Fröjdh
e1cc774d6c
Multi threaded cluster finder ( #117 )
2025-01-14 21:36:25 +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
Erik Fröjdh
72d10b7735
Multi threaded cluster finder. ( #115 )
...
Added a prototype for the multi threaded cluster finder including python
bindings
2025-01-09 16:55:35 +01:00