v1.0.0-rc.62

This commit is contained in:
2025-07-08 20:19:59 +02:00
parent 02039b9f1c
commit 0b5f28f50d
150 changed files with 197 additions and 163 deletions
+3 -2
View File
@@ -16,7 +16,7 @@ void CountSpots(DataMessage &msg,
// Ice ring resolution taken from:
// Moreau, Atakisi, Thorne, Acta Cryst D77, 2021, 540,554
// https://journals.iucr.org/d/issues/2021/04/00/tz5104/index.html
double tol = 0.1;
double tol = 0.05;
if (fabs(d - 3.895) < tol
|| fabs(d - 3.661) < tol
|| fabs(d - 3.438) < tol
@@ -26,9 +26,10 @@ void CountSpots(DataMessage &msg,
ice_ring++;
}
if (d < d_min_A)
if (d > d_min_A)
low_res++;
}
msg.spot_count = spots.size();
msg.spot_count_low_res = low_res;
msg.spot_count_ice_rings = ice_ring;
}