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
10 changes: 5 additions & 5 deletions src/sas/qtgui/Perspectives/Fitting/media/fitting_help.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ using an on-the-fly :ref:`SESANS` from *Q*-space to real-space.
To use this functionality it is important that the SESANS data file has
the extension .ses to distinguish it from *Q*-space data. The SESANS user
community is gradually refining the structure and content of its data files.
Some current examples can be found in the \\test\\sesans_data folder within
Some current examples can be found in the \\example_data\\sesans_data folder within
the SasView installation folder. For more information about the contents
of .ses files, see :ref:`Formats`.

Expand All @@ -1143,16 +1143,16 @@ 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

Since SESANS data normally represent much longer length scales than SANS
data, it will likely be necessary to significantly increase key size
parameters in a model before attempting any fitting. In the screenshot
above, the radius of the sphere has been increased from its default
above for example, the radius of the sphere could be increased from its default
value of 50 |Ang| to 5000 |Ang| in order to get the transform to show
something sensible.
something more sensible.

The model parameters can then be optimised by checking them as required
and clicking the Fit button as is normal.
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, 20March2024
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