JFMulvey c6da36d10b
All checks were successful
Build on RHEL8 / build (push) Successful in 3m4s
Build on RHEL9 / build (push) Successful in 3m11s
Fixed the order of cluster.data being incorrect (#221)
While using the cluster finder and saving a cluster, pixels which are
out of bounds are skipped. cluster.data should contain the pedestal
corrected ADU information of each pixel.

However, the counter "i" which keeps track of the position of
cluster.data is only incremented if the pixel was inside the bounds of
the frame.

This means that any clusters close to the frame's edges are not
construed properly. This means that if you want to extract a 3x3 from a
9x9 cluster, it can fail if the cluster data is not properly centered in
the pixel.

Fixed by moving i++ outside the bounds check.

Co-authored-by: Jonathan Mulvey <jonathan.mulvey@psi.ch>
2025-08-14 09:27:02 +02:00
2025-04-22 16:41:48 +02:00
2025-06-10 16:09:06 +02:00
fix
2024-11-18 15:33:38 +01:00
2025-05-22 11:40:39 +02:00
2025-07-23 11:05:44 +02:00
2025-06-13 15:25:43 +02:00
2025-04-01 15:15:54 +02:00
2025-06-23 17:27:13 +02:00
WIP
2024-11-11 17:13:48 +01:00
2025-03-20 12:52:04 +01:00
2025-04-22 16:41:48 +02:00
2025-05-22 11:40:39 +02:00
2024-10-30 15:07:34 +01:00
2025-07-23 11:05:44 +02:00
2025-05-22 11:40:39 +02:00
2025-07-18 10:21:28 +02:00

aare

Data analysis library for PSI hybrid detectors

Build and install

Prerequisites

  • cmake >= 3.14
  • C++17 compiler (gcc >= 8)
  • python >= 3.10

Development install (for Python)

git clone git@github.com:slsdetectorgroup/aare.git --branch=v1 #or using http...
mkdir build
cd build

#configure using cmake
cmake ../aare

#build (replace 4 with the number of threads you want to use)
make -j4 

Now you can use the Python module from your build directory

import aare
f = aare.File('Some/File/I/Want_to_open_master_0.json')

To run form other folders either add the path to your conda environment using conda-build or add it to your PYTHONPATH

Install using conda/mamba

#enable your env first!
conda install aare=2024.10.29.dev0 -c slsdetectorgroup

Install to a custom location and use in your project

Working example in: https://github.com/slsdetectorgroup/aare-examples

#build and install aare 
git clone git@github.com:slsdetectorgroup/aare.git --branch=v1 #or using http...
mkdir build
cd build

#configure using cmake
cmake ../aare -DCMAKE_INSTALL_PREFIX=/where/to/put/aare

#build (replace 4 with the number of threads you want to use)
make -j4 

#install
make install


#Now configure your project
 cmake .. -DCMAKE_PREFIX_PATH=SOME_PATH

Local build of conda pkgs

conda build . --variants="{python: [3.11, 3.12, 3.13]}"
Description
Mirrored from github
Readme MPL-2.0 112 MiB
Languages
Jupyter Notebook 70.7%
C++ 25.9%
Python 2.4%
CMake 1%