Merge: Remove scaling correction for now (need to think about it)

This commit is contained in:
2026-05-11 13:56:05 +02:00
parent b1fe201047
commit a468e46222
+2 -2
View File
@@ -119,8 +119,8 @@ namespace {
if (!std::isfinite(I_corr) || !std::isfinite(sigma_corr) || sigma_corr <= 0.0)
continue;
// Extra factor o.r->scaling_correction down-weights weak images / low partiality observations.
const double w = o.r->scaling_correction / (sigma_corr * sigma_corr);
// TODO: Figure out right way to handle this
const double w = 1.0 / (sigma_corr * sigma_corr);
auto &a = acc[o.hkl];
a.sum_wI += w * I_corr;