// SPDX-FileCopyrightText: 2024 Filip Leonarski, Paul Scherrer Institute // SPDX-License-Identifier: GPL-3.0-only #ifndef JUNGFRAUJOCH_SPOTFINDINGSETTINGS_H #define JUNGFRAUJOCH_SPOTFINDINGSETTINGS_H #include struct SpotFindingSettings { bool enable = true; float signal_to_noise_threshold = 3; // STRONG_PIXEL in XDS int64_t photon_count_threshold = 10; // Threshold in photon counts int64_t min_pix_per_spot = 2; // Minimum pixels per spot int64_t max_pix_per_spot = 50; // Maximum pixels per spot float high_resolution_limit = 2.0; float low_resolution_limit = 50.0; float cutoff_spot_count_low_res = 5.0; std::optional high_res_gap_Q_recipA = 1.5; // 0.25 * 2 * pi float ice_ring_width_Q_recipA = 0.02; bool indexing = true; bool quick_integration = true; }; #endif //JUNGFRAUJOCH_SPOTFINDINGSETTINGS_H