Commit 39c97484 authored by Henri Payno's avatar Henri Payno
Browse files

gui - xftf: update plot and window names

parent f1b025b0
Pipeline #81455 passed with stages
in 5 minutes and 30 seconds
......@@ -674,7 +674,7 @@ def _plot_chir_mag(obj, **kwargs):
if not hasattr(obj, "chir_mag"):
_logger.error("chir_mag not computed, unable to display it")
return
return (_CurveOperation(x=obj.r, y=obj.chir_mag, legend="chi k (mag)"),)
return (_CurveOperation(x=obj.r, y=obj.chir_mag, legend="ft R (mag)"),)
def _plot_chir_re(obj, **kwargs):
......@@ -686,7 +686,7 @@ def _plot_chir_re(obj, **kwargs):
if not hasattr(obj, "chir_re"):
_logger.error("chir_re not computed, unable to display it")
return
return (_CurveOperation(x=obj.r, y=obj.chir_re, legend="chi k (real)"),)
return (_CurveOperation(x=obj.r, y=obj.chir_re, legend="ft R (real)"),)
def _plot_chir_imag(obj, **kwargs):
......@@ -698,7 +698,7 @@ def _plot_chir_imag(obj, **kwargs):
if not hasattr(obj, "chir_im"):
_logger.error("chir_im not computed, unable to display it")
return
return (_CurveOperation(x=obj.r, y=obj.chir_im, legend="chi k (imag)"),)
return (_CurveOperation(x=obj.r, y=obj.chir_im, legend="ft R (imag)"),)
def _plot_chi_weighted_k(obj, **kwargs):
......
......@@ -23,7 +23,7 @@ class XFTFWindow(qt.QMainWindow):
# xas object viewer
mapKeys = ["mu", "chir", "chir_mag", "chir_re", "chir_im", "chir_pha"]
self.xasObjViewer = XasObjectViewer(
mapKeys=mapKeys, spectrumPlots=("chi", "chi_weighted_k")
mapKeys=mapKeys, spectrumPlots=("ft R", "chi_weighted_k")
)
self.xasObjViewer._spectrumViews[0]._plotWidget.getXAxis().setLabel(
"Radial distance (angstrom)"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment