20 lines
637 B
C++
20 lines
637 B
C++
// Copyright (2019-2023) Paul Scherrer Institute
|
|
|
|
#ifndef JUNGFRAUJOCH_SPOTFINDINGSETTINGS_H
|
|
#define JUNGFRAUJOCH_SPOTFINDINGSETTINGS_H
|
|
|
|
#include <cstdint>
|
|
|
|
struct SpotFindingSettings {
|
|
bool enable = true;
|
|
bool indexing = 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.5;
|
|
float low_resolution_limit = 50.0;
|
|
};
|
|
|
|
#endif //JUNGFRAUJOCH_SPOTFINDINGSETTINGS_H
|