Fixing ROI read of RawFile (#125)

- Bugfixes
- New abstraction for detector geometry
- Tests for updating geo with ROI
This commit is contained in:
Erik Fröjdh
2025-02-11 11:08:22 +01:00
committed by GitHub
parent e96fe31f11
commit 4c750cc3be
11 changed files with 422 additions and 122 deletions

View File

@@ -1,10 +1,13 @@
#include "aare/File.hpp"
#include "aare/RawMasterFile.hpp" //needed for ROI
#include "aare/RawFile.hpp"
#include <catch2/catch_test_macros.hpp>
#include <filesystem>
#include "test_config.hpp"
using aare::File;
TEST_CASE("Read number of frames from a jungfrau raw file", "[.integration]") {
@@ -148,3 +151,5 @@ TEST_CASE("Read file with unordered frames", "[.integration]") {
File f(fpath);
REQUIRE_THROWS((f.read_frame()));
}