Revert "Bragg integration: option to use azimuthal integration profile"

This reverts commit e4230bc14e.
This commit is contained in:
2026-06-10 16:36:37 +02:00
parent 579d36fe71
commit 59281f6330
15 changed files with 115 additions and 218 deletions
+1 -5
View File
@@ -59,10 +59,6 @@ TEST_CASE("BraggIntegrate2D_RejectsReflectionsFromBackgroundUsingR2MaskAndMedian
Reflection r1 = MakeReflection(10.0f, 10.0f);
Reflection r2 = MakeReflection(16.0f, 10.0f);
PixelMask mask(experiment);
AzimuthalIntegrationMapping mapping(experiment, mask);
AzimuthalIntegrationProfile profile(mapping);
for (int y = 0; y < static_cast<int>(height); y++) {
for (int x = 0; x < static_cast<int>(width); x++) {
auto &pixel = image_data[y * width + x];
@@ -78,7 +74,7 @@ TEST_CASE("BraggIntegrate2D_RejectsReflectionsFromBackgroundUsingR2MaskAndMedian
CompressedImage image(image_data, width, height);
std::vector<Reflection> predicted = {r1, r2};
auto integrated = BraggIntegrate2D(experiment, image, predicted, mapping, profile, predicted.size(), 17);
auto integrated = BraggIntegrate2D(experiment, image, predicted, predicted.size(), 17);
REQUIRE(integrated.size() == 2);