124 Commits

Author SHA1 Message Date
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
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
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
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
Erik Fröjdh
a3f813f9b4
Modified moench05 transform (#103)
Moench05 transforms: 
- moench05: Works with the updated firmware and better data compression
(adcenable10g=0xFF0F)
- moench05_old: Works with the previous data and can be used with
adcenable10g=0xFFFFFFFF
- moench05_1g: For the 1g data acquisition only with adcenable=0x2202
2024-11-26 09:02:33 +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
8f729fc83e
Developer (#102) 2024-11-21 10:27:26 +01:00
Erik Fröjdh
f9a2d49244 removed extra print 2024-11-21 10:22:22 +01:00
Erik Fröjdh
9f7cdbcb48 conversion warnings 2024-11-18 18:18:55 +01:00
Erik Fröjdh
3b0e13e41f
added links (#101) 2024-11-18 16:19:15 +01:00
Erik Fröjdh
3af8182998 added links 2024-11-18 16:18:29 +01:00
Erik Fröjdh
99e829fd06
Latest changes (#100) 2024-11-18 15:42:37 +01:00
Erik Fröjdh
47e867fc1a Merge branch 'main' into developer 2024-11-18 15:38:15 +01:00
Erik Fröjdh
8ea4372cf1 fix 2024-11-18 15:33:38 +01:00
Erik Fröjdh
75f83e5e3b detecting need to link with stdfs 2024-11-18 15:33:09 +01:00
Erik Fröjdh
30d05f9203 detecting need to link with stdfs 2024-11-18 15:19:57 +01:00
Erik Fröjdh
37d3dfcf71 WIP 2024-11-18 14:46:28 +01:00
Erik Fröjdh
35c6706b3c docs 2024-11-18 14:39:46 +01:00
Erik Fröjdh
9ab61cac4e deps in pkg 2024-11-18 11:47:26 +01:00
Erik Fröjdh
13394c3a61 cmake targets 2024-11-18 11:30:33 +01:00
Erik Fröjdh
088288787a Merge branch 'developer' of github.com:slsdetectorgroup/aare into developer 2024-11-18 09:22:36 +01:00
Erik Fröjdh
9d4459eb8c linking json with PUBLIC to avoid errors 2024-11-18 09:22:28 +01:00
Erik Fröjdh
95ff77c8fc
Cluster reading, expression templates (#99)
Co-authored-by: froejdh_e <erik.frojdh@psi.ch>
2024-11-15 16:32:36 +01:00
Erik Fröjdh
62a14dda13
Merge branch 'main' into developer 2024-11-15 16:19:34 +01:00
Erik Fröjdh
632c2ee0c8 bumped version 2024-11-15 16:15:04 +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
5cde7a99b5 WIP 2024-11-14 17:02:48 +01:00
froejdh_e
dcedb4fb13 added missing header 2024-11-14 16:37:24 +01:00
Erik Fröjdh
7ffd732d98
ported reading clusters (#95) 2024-11-14 16:22:38 +01:00
Erik Fröjdh
fbaf9dce89
Developer (#94) 2024-11-14 08:03:18 +01:00
Erik Fröjdh
dc889dab76 removed subfile from cmake 2024-11-14 07:48:59 +01:00
Erik Fröjdh
cb94d079af Merge branch 'developer' of github.com:slsdetectorgroup/aare into developer 2024-11-14 07:42:00 +01:00
Erik Fröjdh
13b2cb40b6 docs and reorder 2024-11-14 07:41:50 +01:00
Erik Fröjdh
17917ac7ea
Merge branch 'main' into developer 2024-11-12 16:44:15 +01:00