v1.0.0-rc.68

This commit is contained in:
2025-08-16 19:59:27 +02:00
parent 764ca111e2
commit 20973792e4
191 changed files with 1258 additions and 482 deletions
+8 -6
View File
@@ -150,16 +150,18 @@ void ImageAnalysisCPU::Analyze(DataMessage &output,
if (spot_finding_settings.enable)
spots = spotFinder.Run(image, spot_finding_settings);
CountSpots(output, experiment, spots, spot_finding_settings.cutoff_spot_count_low_res);
std::vector<SpotToSave> spots_out;
std::vector<DiffractionSpot> spots_out;
FilterSpotsByCount(max_spot_count, spots, spots_out);
auto geom = experiment.GetDiffractionGeometry();
for (const auto &spot: spots)
spots_out.push_back(spot.Export(geom));
for (const auto &spot: spots_out)
output.spots.push_back(spot);
CountSpots(output, spots_out, spot_finding_settings.cutoff_spot_count_low_res);
FilterSpotsByCount(experiment.GetMaxSpotCount(), spots_out, output.spots);
if ((indexer != nullptr) && spot_finding_settings.indexing) {
auto latt_f = indexer->Run(experiment, output, spots_out);
auto latt_f = indexer->Run(experiment, output);
auto latt = latt_f.get();
if (latt && spot_finding_settings.quick_integration) {
auto img = CompressedImage(updated_image, experiment.GetXPixelsNum(),