v1.0.0-rc.72

This commit is contained in:
2025-09-08 20:28:59 +02:00
parent 6c88c6902e
commit c67337cfe1
275 changed files with 7525 additions and 1039 deletions
+9 -9
View File
@@ -34,11 +34,11 @@ JFJochViewerImageStatistics::JFJochViewerImageStatistics(QWidget *parent) : QWid
indexed = new QLabel(this);
layout->addRow(new QLabel("Indexing:"), indexed);
mosaicity = new QLabel(this);
layout->addRow(new QLabel("Mosaicity (experimental):"), mosaicity);
profile_radius = new QLabel(this);
layout->addRow(new QLabel("Profile radius:"), profile_radius);
b_factor = new QLabel(this);
layout->addRow(new QLabel("B-factor (experimental):"), b_factor);
layout->addRow(new QLabel("B-factor:"), b_factor);
roi_sum = new QLabel(this);
layout->addRow(new QLabel("ROI sum:"), roi_sum);
@@ -70,7 +70,7 @@ void JFJochViewerImageStatistics::loadImage(std::shared_ptr<const JFJochReaderIm
roi_max->setText("");
sample_temperature_K->setText("");
b_factor->setText("");
mosaicity->setText("");
profile_radius->setText("");
return;
}
@@ -112,17 +112,17 @@ void JFJochViewerImageStatistics::loadImage(std::shared_ptr<const JFJochReaderIm
} else
sample_temperature_K->setText("N/A");
auto mos = image->ImageData().mosaicity;
auto mos = image->ImageData().profile_radius;
if (mos) {
text = QString("<b>%1</b> deg.").arg(QString::number(mos.value(), 'f', 3));
mosaicity->setText(text);
text = QString("<b>%1</b> Å<sup>-1</sup>").arg(QString::number(mos.value(), 'f', 6));
profile_radius->setText(text);
} else {
mosaicity->setText("N/A");
profile_radius->setText("N/A");
}
auto b = image->ImageData().b_factor;
if (b) {
text = QString("<b>%1</b> A<sup>2</sup>").arg(QString::number(b.value(), 'f', 2));
text = QString("<b>%1</b> Å<sup>2</sup>").arg(QString::number(b.value(), 'f', 2));
b_factor->setText(text);
} else {
b_factor->setText("N/A");