v1.0.0-rc.122 (#29)
All checks were successful
Build Packages / build:rpm (rocky8_sls9) (push) Successful in 7m57s
Build Packages / Generate python client (push) Successful in 18s
Build Packages / Build documentation (push) Successful in 35s
Build Packages / Create release (push) Has been skipped
Build Packages / build:rpm (rocky9) (push) Successful in 8m28s
Build Packages / build:rpm (ubuntu2404) (push) Successful in 7m6s
Build Packages / build:rpm (rocky8_nocuda) (push) Successful in 8m9s
Build Packages / build:rpm (rocky9_nocuda) (push) Successful in 8m44s
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Successful in 7m56s
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Successful in 7m25s
Build Packages / Unit tests (push) Successful in 1h11m19s
Build Packages / build:rpm (rocky8) (push) Successful in 6m31s
Build Packages / build:rpm (ubuntu2204) (push) Successful in 6m40s
All checks were successful
Build Packages / build:rpm (rocky8_sls9) (push) Successful in 7m57s
Build Packages / Generate python client (push) Successful in 18s
Build Packages / Build documentation (push) Successful in 35s
Build Packages / Create release (push) Has been skipped
Build Packages / build:rpm (rocky9) (push) Successful in 8m28s
Build Packages / build:rpm (ubuntu2404) (push) Successful in 7m6s
Build Packages / build:rpm (rocky8_nocuda) (push) Successful in 8m9s
Build Packages / build:rpm (rocky9_nocuda) (push) Successful in 8m44s
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Successful in 7m56s
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Successful in 7m25s
Build Packages / Unit tests (push) Successful in 1h11m19s
Build Packages / build:rpm (rocky8) (push) Successful in 6m31s
Build Packages / build:rpm (ubuntu2204) (push) Successful in 6m40s
This is an UNSTABLE release. * jfjoch_broker: Add thresholding to prefer shorter vectors after FFT * jfjoch_broker: Add experimental mosaicity estimation for rotation experiments (this is work in progress) * jfjoch_viewer: Display file opening errors * jfjoch_viewer: When loading files over DBus add retry/back-off till the file is available Reviewed-on: #29 Co-authored-by: Filip Leonarski <filip.leonarski@psi.ch> Co-committed-by: Filip Leonarski <filip.leonarski@psi.ch>
This commit was merged in pull request #29.
This commit is contained in:
@@ -126,8 +126,9 @@ JFJochViewerImageStatistics::JFJochViewerImageStatistics(QWidget *parent) : QWid
|
||||
res_estimate = new QLabel(this);
|
||||
layout->addRow(new QLabel("Resolution estimate:"), res_estimate);
|
||||
|
||||
profile_radius_label = new QLabel("");
|
||||
profile_radius = new QLabel(this);
|
||||
layout->addRow(new QLabel("Profile radius:"), profile_radius);
|
||||
layout->addRow(profile_radius_label, profile_radius);
|
||||
|
||||
b_factor = new QLabel(this);
|
||||
layout->addRow(new QLabel("B-factor:"), b_factor);
|
||||
@@ -164,7 +165,9 @@ void JFJochViewerImageStatistics::loadImage(std::shared_ptr<const JFJochReaderIm
|
||||
indexed->setText("");
|
||||
indexed->setToolTip("");
|
||||
b_factor->setText("");
|
||||
profile_radius_label->setText("");
|
||||
profile_radius->setText("");
|
||||
profile_radius->setToolTip("");
|
||||
res_estimate->setText("");
|
||||
masked_pixels->setText("");
|
||||
masked_pixels->setToolTip("");
|
||||
@@ -258,11 +261,25 @@ void JFJochViewerImageStatistics::loadImage(std::shared_ptr<const JFJochReaderIm
|
||||
}
|
||||
|
||||
auto pr = image->ImageData().profile_radius;
|
||||
if (pr && std::isfinite(pr.value())) {
|
||||
auto mos = image->ImageData().mosaicity_deg;
|
||||
if (mos && std::isfinite(mos.value())) {
|
||||
text = QString("<b>%1</b>°").arg(QString::number(mos.value(), 'f', 6));
|
||||
profile_radius_label->setText("Mosaicity:");
|
||||
profile_radius->setText(text);
|
||||
if (pr && std::isfinite(pr.value())) {
|
||||
text = QString("Profile radius <b>%1</b> Å<sup>-1</sup>").arg(QString::number(pr.value(), 'f', 6));
|
||||
profile_radius->setToolTip(text);
|
||||
} else
|
||||
profile_radius->setToolTip("");
|
||||
} else if (pr && std::isfinite(pr.value())) {
|
||||
profile_radius_label->setText("Profile radius:");
|
||||
text = QString("<b>%1</b> Å<sup>-1</sup>").arg(QString::number(pr.value(), 'f', 6));
|
||||
profile_radius->setText(text);
|
||||
profile_radius->setToolTip("");
|
||||
} else {
|
||||
profile_radius->setText("N/A");
|
||||
profile_radius_label->setText("");
|
||||
profile_radius->setText("");
|
||||
profile_radius->setToolTip("");
|
||||
}
|
||||
|
||||
auto b = image->ImageData().b_factor;
|
||||
|
||||
Reference in New Issue
Block a user