SpotAnalyze: Use resolution_estimate before filtering spots by count
This commit is contained in:
@@ -27,12 +27,12 @@ void SpotAnalyze(const DiffractionExperiment &experiment,
|
||||
|
||||
CountSpots(output, spots_out, spot_finding_settings.cutoff_spot_count_low_res);
|
||||
|
||||
output.resolution_estimate = GetResolution(spots_out);
|
||||
|
||||
FilterSpotsByCount(spots_out, experiment.GetMaxSpotCount());
|
||||
|
||||
output.spots = spots_out;
|
||||
|
||||
output.resolution_estimate = GetResolution(output.spots);
|
||||
|
||||
if ((indexer != nullptr) && spot_finding_settings.indexing) {
|
||||
auto latt_f = indexer->Run(experiment, output);
|
||||
auto latt = latt_f.get();
|
||||
|
||||
Reference in New Issue
Block a user