// SPDX-FileCopyrightText: 2025 Filip Leonarski, Paul Scherrer Institute // SPDX-License-Identifier: GPL-3.0-only #pragma once #include #include "../common/Reflection.h" #include "../common/UnitCell.h" #include "IntegrationOutcome.h" struct ResolutionStats { float d_low = std::numeric_limits::max(); float d_high = 0.0f; int n_reflections = 0; int n_images = 0; }; ResolutionStats UpdateReflectionResolution(const UnitCell &cell, std::vector &reflections);