mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-12-23 05:21:30 +01:00
also hpp
This commit is contained in:
@@ -4,7 +4,7 @@ import fnmatch
|
|||||||
import os
|
import os
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
CPP_PATTERNS = ["*.h", "*.cpp"]
|
CPP_PATTERNS = ["*.h", "*.hpp", "*.cpp"]
|
||||||
PY_PATTERNS = ["*.py"]
|
PY_PATTERNS = ["*.py"]
|
||||||
CMAKE_PATTERNS = ["CMakeLists.txt"]
|
CMAKE_PATTERNS = ["CMakeLists.txt"]
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "aare/defs.hpp"
|
#include "aare/defs.hpp"
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "aare/Cluster.hpp"
|
#include "aare/Cluster.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
/************************************************
|
/************************************************
|
||||||
* @file Cluster.hpp
|
* @file Cluster.hpp
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "aare/Cluster.hpp"
|
#include "aare/Cluster.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "aare/ClusterFile.hpp"
|
#include "aare/ClusterFile.hpp"
|
||||||
#include "aare/ClusterVector.hpp"
|
#include "aare/ClusterVector.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "aare/Cluster.hpp" //TODO maybe store in seperate file !!!
|
#include "aare/Cluster.hpp" //TODO maybe store in seperate file !!!
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "aare/FileInterface.hpp"
|
#include "aare/FileInterface.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "aare/RawMasterFile.hpp" //ROI refactor away
|
#include "aare/RawMasterFile.hpp" //ROI refactor away
|
||||||
#include "aare/defs.hpp"
|
#include "aare/defs.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "aare/FileInterface.hpp"
|
#include "aare/FileInterface.hpp"
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "aare/Dtype.hpp"
|
#include "aare/Dtype.hpp"
|
||||||
#include "aare/Frame.hpp"
|
#include "aare/Frame.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "aare/Dtype.hpp"
|
#include "aare/Dtype.hpp"
|
||||||
#include "aare/NDArray.hpp"
|
#include "aare/NDArray.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
/************************************************
|
/************************************************
|
||||||
* @file GainMap.hpp
|
* @file GainMap.hpp
|
||||||
* @short function to apply gain map of image size to a vector of clusters -
|
* @short function to apply gain map of image size to a vector of clusters -
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "aare/CalculateEta.hpp"
|
#include "aare/CalculateEta.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
/*
|
/*
|
||||||
Container holding image data, or a time series of image data in contigious
|
Container holding image data, or a time series of image data in contigious
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "aare/ArrayExpr.hpp"
|
#include "aare/ArrayExpr.hpp"
|
||||||
#include "aare/defs.hpp"
|
#include "aare/defs.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "aare/Dtype.hpp"
|
#include "aare/Dtype.hpp"
|
||||||
#include "aare/FileInterface.hpp"
|
#include "aare/FileInterface.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "aare/Frame.hpp"
|
#include "aare/Frame.hpp"
|
||||||
#include "aare/NDArray.hpp"
|
#include "aare/NDArray.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "aare/NDArray.hpp"
|
#include "aare/NDArray.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "aare/DetectorGeometry.hpp"
|
#include "aare/DetectorGeometry.hpp"
|
||||||
#include "aare/FileInterface.hpp"
|
#include "aare/FileInterface.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "aare/defs.hpp"
|
#include "aare/defs.hpp"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "aare/Frame.hpp"
|
#include "aare/Frame.hpp"
|
||||||
#include "aare/defs.hpp"
|
#include "aare/defs.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <aare/NDArray.hpp>
|
#include <aare/NDArray.hpp>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "aare/NDArray.hpp"
|
#include "aare/NDArray.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <aare/NDView.hpp>
|
#include <aare/NDView.hpp>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "aare/Dtype.hpp"
|
#include "aare/Dtype.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
/*Utility to log to console*/
|
/*Utility to log to console*/
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <thread>
|
#include <thread>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#include "aare/Cluster.hpp"
|
#include "aare/Cluster.hpp"
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#include "aare/ClusterCollector.hpp"
|
#include "aare/ClusterCollector.hpp"
|
||||||
#include "aare/ClusterFileSink.hpp"
|
#include "aare/ClusterFileSink.hpp"
|
||||||
#include "aare/ClusterFinder.hpp"
|
#include "aare/ClusterFinder.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#include "aare/CalculateEta.hpp"
|
#include "aare/CalculateEta.hpp"
|
||||||
#include "aare/ClusterFile.hpp"
|
#include "aare/ClusterFile.hpp"
|
||||||
#include "aare/defs.hpp"
|
#include "aare/defs.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#include "aare/ClusterCollector.hpp"
|
#include "aare/ClusterCollector.hpp"
|
||||||
#include "aare/ClusterFileSink.hpp"
|
#include "aare/ClusterFileSink.hpp"
|
||||||
#include "aare/ClusterFinder.hpp"
|
#include "aare/ClusterFinder.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#include "aare/ClusterCollector.hpp"
|
#include "aare/ClusterCollector.hpp"
|
||||||
#include "aare/ClusterFileSink.hpp"
|
#include "aare/ClusterFileSink.hpp"
|
||||||
#include "aare/ClusterFinder.hpp"
|
#include "aare/ClusterFinder.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#include "aare/ClusterCollector.hpp"
|
#include "aare/ClusterCollector.hpp"
|
||||||
#include "aare/ClusterFileSink.hpp"
|
#include "aare/ClusterFileSink.hpp"
|
||||||
#include "aare/ClusterFinder.hpp"
|
#include "aare/ClusterFinder.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#include "aare/ClusterCollector.hpp"
|
#include "aare/ClusterCollector.hpp"
|
||||||
#include "aare/ClusterFileSink.hpp"
|
#include "aare/ClusterFileSink.hpp"
|
||||||
#include "aare/ClusterFinder.hpp"
|
#include "aare/ClusterFinder.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#include "aare/calibration.hpp"
|
#include "aare/calibration.hpp"
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
#include "aare/CtbRawFile.hpp"
|
#include "aare/CtbRawFile.hpp"
|
||||||
#include "aare/File.hpp"
|
#include "aare/File.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#include "aare/CtbRawFile.hpp"
|
#include "aare/CtbRawFile.hpp"
|
||||||
#include "aare/File.hpp"
|
#include "aare/File.hpp"
|
||||||
#include "aare/Frame.hpp"
|
#include "aare/Frame.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
#include <pybind11/pybind11.h>
|
#include <pybind11/pybind11.h>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#include "aare/Interpolator.hpp"
|
#include "aare/Interpolator.hpp"
|
||||||
#include "aare/NDArray.hpp"
|
#include "aare/NDArray.hpp"
|
||||||
#include "aare/NDView.hpp"
|
#include "aare/NDView.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
#include "aare/JungfrauDataFile.hpp"
|
#include "aare/JungfrauDataFile.hpp"
|
||||||
#include "aare/defs.hpp"
|
#include "aare/defs.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
#include "aare/Pedestal.hpp"
|
#include "aare/Pedestal.hpp"
|
||||||
#include "np_helper.hpp"
|
#include "np_helper.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#include "aare/PixelMap.hpp"
|
#include "aare/PixelMap.hpp"
|
||||||
#include "np_helper.hpp"
|
#include "np_helper.hpp"
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#include "aare/CtbRawFile.hpp"
|
#include "aare/CtbRawFile.hpp"
|
||||||
#include "aare/File.hpp"
|
#include "aare/File.hpp"
|
||||||
#include "aare/Frame.hpp"
|
#include "aare/Frame.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
#include "aare/CtbRawFile.hpp"
|
#include "aare/CtbRawFile.hpp"
|
||||||
#include "aare/File.hpp"
|
#include "aare/File.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#include "aare/CtbRawFile.hpp"
|
#include "aare/CtbRawFile.hpp"
|
||||||
#include "aare/File.hpp"
|
#include "aare/File.hpp"
|
||||||
#include "aare/Frame.hpp"
|
#include "aare/Frame.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#include "aare/VarClusterFinder.hpp"
|
#include "aare/VarClusterFinder.hpp"
|
||||||
#include "np_helper.hpp"
|
#include "np_helper.hpp"
|
||||||
// #include "aare/defs.hpp"
|
// #include "aare/defs.hpp"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#define FRIEND_TEST(test_name) friend void test_name##_impl();
|
#define FRIEND_TEST(test_name) friend void test_name##_impl();
|
||||||
|
|
||||||
#define TEST_CASE_PRIVATE_FWD(test_name) \
|
#define TEST_CASE_PRIVATE_FWD(test_name) \
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
#include <catch2/catch_test_macros.hpp>
|
#include <catch2/catch_test_macros.hpp>
|
||||||
|
|
||||||
#include <catch2/interfaces/catch_interfaces_capture.hpp>
|
#include <catch2/interfaces/catch_interfaces_capture.hpp>
|
||||||
|
|||||||
Reference in New Issue
Block a user