1.0.0-rc.87

This commit is contained in:
2025-09-30 20:43:53 +02:00
parent 79c3b3c5ea
commit 99b7dc07f7
157 changed files with 442 additions and 318 deletions
@@ -39,12 +39,12 @@ std::optional<float> BraggIntegrationStats::BFactor() {
+ (static_cast<float>(i) + 0.5) * (one_over_dmin - one_over_dmax) / static_cast<float>(nshells);
wilson_plot_legend.push_back(one_over_d);
if (count[i] == 0 )
plot_Isigma.push_back(NAN);
plot_Isigma.push_back(0);
else
plot_Isigma.push_back(I_sigma[i] / count[i]);
if (count[i] == 0 || I[i] < 0.0 || I_sigma[i] < 0.2f * count[i])
wilson_plot.push_back(NAN);
wilson_plot.push_back(0);
else
wilson_plot.push_back(log(I[i] / count[i]));
}
@@ -60,7 +60,7 @@ std::vector<float> BraggIntegrationStats::GetWilsonPlot() {
return wilson_plot;
}
std::vector<float> BraggIntegrationStats::GetWilsonPlotLegend() {
std::vector<float> BraggIntegrationStats::GetOneOverDPlot() {
return wilson_plot_legend;
}