// 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 { // d_high = highest resolution = smallest d (tracked via `d_high > d`); // d_low = lowest resolution = largest d (tracked via `d_low < d`). float d_low = 0.0f; float d_high = std::numeric_limits::max(); int n_reflections = 0; int n_images = 0; }; ResolutionStats UpdateReflectionResolution(const UnitCell &cell, std::vector &reflections);