// SPDX-FileCopyrightText: 2026 Filip Leonarski, Paul Scherrer Institute // SPDX-License-Identifier: GPL-3.0-only #pragma once #include // A stills run's rocking curve as measured by StillsPartialityRefine::MeasureRunWidth (see there): the // three-term width formula sigma^2 = gamma0^2 + (gamma_e d*)^2 + (bandwidth_sigma |q_z|)^2 (1/A, rad, // relative), the width measured in shells of d* (table_s at the shells' mean d*, 1/A; empty when too few // shells could be measured), and the radial scale of the reciprocal lattice the curve is centred on. // Carried in the EndMessage so the _process.h5 holds the curve its frames were predicted through and // --mode scale merges with it rather than measuring another. struct StillsRunWidth { double gamma0 = 0.0, gamma_e = 0.0, bandwidth_sigma = 0.0; double radial_scale = 1.0; std::vector table_dstar, table_s; };