v1.0.0-rc.81
This commit is contained in:
@@ -12,6 +12,7 @@ JFJochViewerSidePanelChart::JFJochViewerSidePanelChart(QWidget *parent) : QWidge
|
||||
combo_box->addItem("Azimuthal integration (2D)", 3);
|
||||
combo_box->addItem("Wilson plot", 1);
|
||||
combo_box->addItem("I/sigma", 2);
|
||||
combo_box->addItem("X-ray fluorescence spectrum", 4);
|
||||
|
||||
|
||||
layout->addWidget(combo_box);
|
||||
@@ -59,6 +60,10 @@ void JFJochViewerSidePanelChart::redrawPlot() {
|
||||
x = image->ImageData().integration_one_over_d;
|
||||
y = image->ImageData().integration_Isigma;
|
||||
break;
|
||||
case 4:
|
||||
x = image->Dataset().experiment.GetFluorescenceSpectrum().GetEnergy_eV();
|
||||
y = image->Dataset().experiment.GetFluorescenceSpectrum().GetData();
|
||||
break;
|
||||
case 3: {
|
||||
// Render 2D azimuthal integration as an image
|
||||
const auto &profile = image->ImageData().az_int_profile;
|
||||
|
||||
Reference in New Issue
Block a user