OpenAPI: Add spot finding enable/disable option

This commit is contained in:
2024-04-08 20:56:53 +02:00
parent c1e046b90d
commit 9cff0dc6f7
11 changed files with 70 additions and 31 deletions

View File

@@ -665,14 +665,7 @@ void DiffractionExperiment::CheckDataProcessingSettings(const SpotFindingSetting
}
SpotFindingSettings DiffractionExperiment::DefaultDataProcessingSettings() {
SpotFindingSettings ret{};
ret.signal_to_noise_threshold = 3;
ret.photon_count_threshold = 16;
ret.min_pix_per_spot = 2;
ret.max_pix_per_spot = 50;
ret.low_resolution_limit = 20.0;
ret.high_resolution_limit = 2.5;
return ret;
return {};
}
void DiffractionExperiment::FillMessage(StartMessage &message) const {