Revert "Bragg integration: option to use azimuthal integration profile"
This reverts commit e4230bc14e.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user