Detector Geometry customization

This commit is contained in:
2023-04-12 19:22:13 +00:00
parent 94ba13b3a1
commit 0973f3725d
52 changed files with 1335 additions and 973 deletions

View File

@@ -48,7 +48,7 @@ void naive_spot_finder(StrongPixelSet& set, const int16_t *buffer, const spot_pa
}
TEST_CASE("SpotFinder_GPU", "[GPUImageAnalysis]") {
DiffractionExperiment experiment(1, {1});
DiffractionExperiment experiment(DetectorGeometry(1));
experiment.Mode(DetectorMode::Raw);
const uint16_t nbx = 5;
@@ -115,7 +115,7 @@ TEST_CASE("SpotFinder_GPU", "[GPUImageAnalysis]") {
}
TEST_CASE("SpotFinder_GPU_Mask", "[GPUImageAnalysis]") {
DiffractionExperiment experiment(1, {1});
DiffractionExperiment experiment(DetectorGeometry(1));
experiment.Mode(DetectorMode::Raw);
const uint16_t nbx = 5;