Erik Fröjdh
c0357e2020
Improvements to NDArray ( #258 )
...
Build on RHEL9 / build (push) Successful in 3m11s
Build on RHEL8 / build (push) Successful in 3m25s
- Removed redundant arr.value(ix,iy...) on NDArray use arr(ix,iy...)
- Removed Print/Print_some/Print_all form NDArray (operator << still
works)
- Added const* version of .data()
- Comment for documentation
- Some extra tests
2025-12-19 14:49:41 +01:00
dfb29b719f
fixed out of bounds in test ( #259 )
...
- fixed test (out of bounds access)
2025-12-19 13:15:49 +01:00
Erik Fröjdh
7f3123d68f
Added parsing of exptime and period from master files ( #256 )
...
Build on RHEL9 / build (push) Successful in 3m26s
Build on RHEL8 / build (push) Successful in 3m33s
- New aare:to_string/string_to similar to what we have in
slsDetectorPackage
- Added members period and exptime to RawMasterFile
- Parsing exposure time and period for json and raw master file formats
- Parsing of RawMasterFile from string stream to enable test without
files
Comments:
- to_string is at the moment not a public header. Can make it later if
needed. This gives us full freedom with the API
- FileConfig should probably be deprecated need to look into it.
Meanwhile removed python bindings and string conv
2025-12-18 17:04:12 +01:00
fb95e518b4
Dev/interpolation documentation ( #255 )
...
Build on RHEL8 / build (push) Successful in 3m5s
Build on RHEL9 / build (push) Successful in 3m21s
- added transform_eta_values for easier debugging more control for the
user
- updated Documentation
2025-12-16 13:06:28 +01:00
Erik Fröjdh
80a2b02345
Dev/decode my302 ( #254 )
...
Build on RHEL8 / build (push) Failing after 0s
Build on RHEL9 / build (push) Failing after 0s
This PR adds support for decoding digital data from the my320 test chip.
- Added BitOffset (strong type)
- Expand 24 to 32 bit
- Python bindings for decoding my302
- Improved docs
2025-12-09 18:27:02 +01:00
dd5ed138cf
Dev/print filepath in error ( #251 )
Build on RHEL8 / build (push) Failing after 0s
Build on RHEL9 / build (push) Successful in 3m15s
2025-11-25 11:25:44 +01:00
8201c5e999
Fix/mythenfilereading ( #250 )
...
Build on RHEL8 / build (push) Failing after 0s
Build on RHEL9 / build (push) Successful in 3m23s
Add counter mask as member of RawFile
BugFix: temporarily handle -1 for ROI in mythenfile
2025-11-24 12:29:08 +01:00
6f7cb4ae30
Merge branch 'main' into dev/license
2025-11-21 14:52:54 +01:00
267ca87ab0
Dev/rosenblatttransform ( #241 )
...
- added rosenblatttransform
- added 3x3 eta methods
- interpolation can be used with various eta functions
- added documentation for interpolation, eta calculation
- exposed full eta struct in python
- disable ClusterFinder for 2x2 clusters
- factory function for ClusterVector
---------
Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch >
Co-authored-by: Erik Fröjdh <erik.frojdh@psi.ch >
2025-11-21 14:48:46 +01:00
Erik Fröjdh
53aed8d8c6
added license
2025-11-20 09:01:28 +01:00
b28abb2668
updated tests
2025-10-23 17:35:16 +02:00
6f10afbcdc
Merge branch 'main' into fix/adapt_and_test_interpolation
2025-10-17 10:03:26 +02:00
351f4626b3
roi max should be incremented by 1 for all versions of the file
2025-10-16 12:26:30 +02:00
516ef88d10
adresses SonarQube comments
2025-10-08 18:19:17 +02:00
1f46266183
clang-format
2025-10-01 20:25:27 +02:00
d3d9f760b3
updated parse_json to parse new master json file
2025-10-01 20:17:37 +02:00
474c35cc6b
Merge branch 'main' into dev/reduce
Build on RHEL8 / build (push) Successful in 3m16s
Build on RHEL9 / build (push) Successful in 3m35s
2025-09-08 15:39:27 +02:00
7926993bb2
reduction tests for python
2025-09-01 14:15:08 +02:00
b59277c4bf
3x3 reduction for general cluszter sizes
Build on RHEL8 / build (push) Successful in 3m8s
Build on RHEL9 / build (push) Successful in 3m9s
2025-08-19 12:37:55 +02:00
cb163c79b4
reduction to 2x2 clusters for general clusters
2025-08-18 18:23:15 +02:00
f54e76e6bf
view is only allowed on l-value frame ( #220 )
...
Vadym accidentally called view() directly on an R-value frame, which
leads to a dangling view pointer.
Adjusted code such that compiler throws an error if called on an R-value
frame.
Co-authored-by: Erik Fröjdh <erik.frojdh@psi.ch >
2025-08-18 11:02:05 +02:00
Erik Fröjdh
1527a45cf3
Merge branch 'template_on_gain0' into dev/move_dim
2025-07-25 10:45:20 +02:00
froejdh_e
d6222027d0
move constructor for Ndim-1
2025-07-25 10:40:32 +02:00
1195a5e100
added drop dimension test, added file calibration.test.cpp
2025-07-25 10:18:55 +02:00
1347158235
templated calculate_pedestal with boolean template argument only_gain0, added drop_dimension to NDArray and reference pointer to data
2025-07-24 15:40:05 +02:00
froejdh_e
8c4d8b687e
using make_subview
Build on RHEL9 / build (push) Successful in 3m2s
Build on RHEL8 / build (push) Successful in 3m5s
2025-07-24 12:16:08 +02:00
froejdh_e
9a7713e98a
added g0 calibration, pedestal and pixel counting
2025-07-22 16:42:09 +02:00
Erik Fröjdh
fa3b7a5afe
Merge branch 'main' into fix/mh02-map
2025-07-16 17:03:31 +02:00
Erik Fröjdh
e95326faa1
Fix/remove cpp ( #213 )
...
Build on RHEL8 / build (push) Failing after 1m52s
Build on RHEL9 / build (push) Successful in 3m11s
- Removed unused ClusterFile.cpp (code from before it was templated)
- Updated the list of .cpp files in CMakeLists.txt to match alphabetic
listing in the browser
2025-07-16 16:43:08 +02:00
froejdh_e
8e2346abf8
fixed pixel map for mh02
2025-07-16 15:54:29 +02:00
Erik Fröjdh
97dae4ac60
added empty() to ClusterVector and fixed docs ( #209 )
...
- added ClusterVector::empty() to check if the vector is empty
- Fixed generation of missing docs for ClusterVector
2025-06-27 17:00:46 +02:00
Erik Fröjdh
e3f4b34b72
Const element access and fixed comparing bug ( #208 )
...
- Added const element access
- Added const data*
- Fixed bug comparing two Views of same size but different shapes
closes #207
2025-06-27 14:13:51 +02:00
Erik Fröjdh
6ec8fbee72
migrated tags for tests and added missing raw files ( #206 )
...
Build on RHEL8 / build (push) Successful in 2m57s
Build on RHEL9 / build (push) Successful in 2m59s
- No changes or evaluation of existing tests
- Tags for including tests that require data is changed to
**[.with-data]** and **--with-data** for C++ and python respectively
- Minor update to docs
- Added missing files to the test data repo
2025-06-26 17:11:20 +02:00
ff7312f45d
replaced fmt with LOG
2025-06-24 16:24:25 +02:00
df4dbb8fd0
fixed numpy test
2025-06-24 13:39:32 +02:00
c92be4bca2
added eiger quad test
Build on RHEL8 / build (push) Successful in 2m53s
Build on RHEL9 / build (push) Successful in 3m0s
2025-06-24 11:29:25 +02:00
664055de92
fixed quad structure
Build on RHEL9 / build (push) Successful in 2m50s
Build on RHEL8 / build (push) Successful in 3m2s
2025-06-23 17:27:13 +02:00
318e640639
only test over the public interface
2025-06-23 17:27:13 +02:00
9f8eee5d08
fixed python bindings - only read headers of modules that are in the roi
Build on RHEL8 / build (push) Successful in 2m51s
Build on RHEL9 / build (push) Successful in 2m53s
2025-06-16 11:07:00 +02:00
35114cde9d
fatal error did not open any subfiles
Build on RHEL8 / build (push) Successful in 2m56s
Build on RHEL9 / build (push) Successful in 2m59s
2025-06-13 18:12:47 +02:00
b13f864b2b
need n_modules
2025-06-13 17:01:13 +02:00
0f56846e3d
deleted some commented lines
2025-06-13 16:33:25 +02:00
be67bbab6b
extended DetectorGeometry class with find_geometry, update_geometry (refactoring)
2025-06-13 16:16:23 +02:00
bd7870e75a
review comments
Build on RHEL9 / build (push) Successful in 2m53s
Build on RHEL8 / build (push) Successful in 2m55s
2025-06-12 18:14:48 +02:00
75f63607fc
friend_test macro
2025-06-12 17:46:10 +02:00
cfe7c31fe4
changed data path of test data
Build on RHEL9 / build (push) Successful in 2m54s
Build on RHEL8 / build (push) Successful in 2m55s
2025-06-12 09:53:15 +02:00
19ecc82fff
solved merge conflict
Build on RHEL8 / build (push) Successful in 2m52s
Build on RHEL9 / build (push) Successful in 3m12s
2025-06-10 17:01:40 +02:00
f9751902a2
formatted main branch
2025-06-10 16:09:06 +02:00
ad7525cd02
considered num_udp_interafces for jungfrau and quad structure for eiger
2025-06-10 11:35:15 +02:00
87d8682b1e
added test cases
2025-06-06 11:31:39 +02:00