Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed xaxis label for updated SESANS nomenclature from z to delta #2754

Merged
merged 10 commits into from
Mar 20, 2024
2 changes: 1 addition & 1 deletion src/sas/qtgui/Perspectives/Fitting/FittingUtilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ def residualsData1D(reference_data, current_data, weights):
residuals.ytransform = 'y'
if reference_data.isSesans:
residuals.xtransform = 'x'
residuals.xaxis('\\rm{z} ', 'A')
residuals.xaxis('\\delta ', 'A')
butlerpd marked this conversation as resolved.
Show resolved Hide resolved
# For latter scale changes
else:
residuals.xaxis('\\rm{Q} ', 'A^{-1}')
Expand Down
4 changes: 2 additions & 2 deletions src/sas/qtgui/Perspectives/Fitting/media/fitting_help.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,7 @@ Load the .ses file and Send to Fitting as normal.

The first true indication that the data are not SANS data comes when the
data are plotted. Instead of *Intensity* vs *Q*, the data are displayed
as a normalised depolarisation (*P*) vs spin-echo length (*z*).
as a normalised depolarisation (*P*) vs spin-echo length (:math:`{\delta}`).

.. image:: fitting_sesans_2.png

Expand All @@ -1168,4 +1168,4 @@ command line interpreter, see :ref:`sesans_fitting`.

.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ

.. note:: This help document was last changed by Steve King, 26Oct2022
.. note:: This help document was last changed by Caitlyn Wolf, 19March2024
Binary file modified src/sas/qtgui/Perspectives/Fitting/media/fitting_sesans_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/sas/qtgui/Perspectives/Fitting/media/fitting_sesans_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/sas/qtgui/Perspectives/Fitting/media/fitting_sesans_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading