206 Commits

Author SHA1 Message Date
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
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
21ce7a3efa bumped version 2025-01-07 16:33:16 +01:00
froejdh_e
acdce8454b moved pd to double 2025-01-07 15:01:43 +01:00
Erik Fröjdh
d07da42745 bitdepths 2025-01-07 12:27:01 +01:00
Erik Fröjdh
7d6223d52d
Cluster finder improvements (#113) 2024.12.16.dev0 2024-12-16 14:42:18 +01:00
Erik Fröjdh
da67f58323
Cluster finder improvements (#112) 2024-12-16 14:26:35 +01:00
froejdh_e
e6098c02ef bumped version 2024-12-16 14:24:46 +01:00
froejdh_e
29b1dc8df3 missing header 2024-12-13 14:57:36 +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
froejdh_e
b43003966f build pkg on all branched deploy docs on main 2024-11-29 16:41:42 +01:00
froejdh_e
c2d039a5bd fix conda build 2024-11-29 16:37:42 +01:00
Erik Fröjdh
6fd52f6b8d
added missing enums (#111)
- Missing enums
- Matching values to slsDetectorPackage
- tests
2024-11-29 15:28:19 +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
froejdh_e
0047d15de1 removed print flip 2024-11-29 15:00:18 +01:00
froejdh_e
a1b7fb8fc8 added missing enums 2024-11-29 14:56:39 +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
Erik Fröjdh
ada4d41f4a
bugfix on iteration and returning master file (#110) 2024-11-29 08:52:04 +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
Erik Fröjdh
feed4860a6
Developer (#108)
- Support for very old moench
- read_n in RawFile
2024-11-27 21:22:01 +01:00
froejdh_e
0df8e4bb7d added support for old old moench files 2024-11-27 16:27:55 +01:00
froejdh_e
8bf9ac55ce modified read_n also for File and RawFile 2024-11-27 09:31:57 +01:00
Erik Fröjdh
2d33fd4813
Streamlined build, new transforms (#106) 2024-11-26 16:27:00 +01:00
froejdh_e
996a8861f6 roll back conda-build 2024-11-26 15:53:06 +01:00
06670a7e24
read_n returns remaining frames (#105)
Modified read_n to return the number of frames available if less than
the number of frames requested.

```python
#f is a CtbRawFile containing 10 frames

f.read_n(7) # you get 7 frames
f.read_n(7) # you get 3 frames
f.read_n(7) # RuntimeError
```

Also added support for chunk_size when iterating over a file:

```python
# The file contains 10 frames


with CtbRawFile(fname, chunk_size = 7) as f:
    for headers, frames in f:
        #do something with the data
        # 1 iteration 7 frames
        # 2 iteration 3 frames
        # 3 iteration stops
```
2024-11-26 14:07:21 +01:00
froejdh_e
8e3d997bed read_n returns remaining frames 2024-11-26 12:07:17 +01:00