-
Notifications
You must be signed in to change notification settings - Fork 42
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
fixed xaxis label for updated SESANS nomenclature from z to delta #2754
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure that it was necessary to create a new shortcut for delta rather than just using the latex, but there is mixed usage already so guess it is OK
spin Echo length label is now generated for the plot .. but not the residual. Otherwise looks good
The other plot should be updated when the changes in SasView/sasdata#60 are implemented |
@butlerpd did you have a chance to try the new installer that includes the edits from the paired sasdata branch and PR? |
Also thinking this should be merged also into 6.0.0 for the beta release? |
I agree about putting this into 6.0.0, as well as the paired PR #60 in sasdata. The last steps to be completed are:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand that the choice of using the unicode or defining the symbol in rst_prolog was based on how other symbols were used in each file. I still think this is confusing and it would be nice to refactor everything for consistency but that is certainly beyond the scope of this PR.
Otherwise the code looks good both here and the paired PR in sasdata and does what it should do on windows.
SOME CAVEATS:
- Given this is about plotting greek symbols it may be wise to check that it behaves as expected on MacOS
- More importantly, changes to the ci.yml file should be reversed PRIOR to the merge
- The paired PR should be merged at the same time
- This should definitely go into 6.0.0.
Looks fine on MAC |
Oops ... NOT ready to merge to 6.0.0 ... and will not be ready once PR #2808 is merged into main. Basically Otherwise rebasing works and this will be able to be rebased onto release_6.0.0 without problem |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see most recent comment needing fixing before this can be merged
341a38c
to
4ae3ed5
Compare
c889d20
to
6794a8f
Compare
@butlerpd I updated the docs after the rebasing step to correctly display the new delta character and also show the updated sesans fitting screenshots |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks pretty good now and is running nicely under release_6.0.0. I do have a couple of requests:
- there is a missing \ symbol in from of a lambda in a math entry (simple fix)
- Thanks for updating the plots in the fitting documentation. That too often gets forgotten! However, they have a very low resolution and hard to read. It would be good if we could get the same resolution as the other figures in that file.
Also .. why are we bothering with changing the |
...for the fitting_help doc page.
Right ... I forgot that is actually in the sasdata repo .... +1 to whoever said multiple repos are a pain 😄 - consider this a comment in sasdata instead please. Sorry about that. |
@butlerpd Updated the "This help document was last changed by..." statement and last two sesans fitting images in the fitting help doc. PR is ready for review once the checks have completed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The graphics are now much better and match the rest of the document.
I did notice two small things that would be nice to fix still - don't know why I did not catch before. For 6.0 the test
folder has been replaced with the example_data
folder. @smk78 has changed most of those but probably did not realize (or forgot -- I see he is the original author of that line) there was a reference to it in this document in the sesans section?
While we are at it the line about
In the screenshot above, the radius of the sphere has been increased from its default value of 50 Å to 5000 Å in order to get the transform to show something sensible.
can probably just be removed. I'm not sure why @smk78 wrote that unless he had a different example graphic he used? I think the previous sentence is sufficient. Alternatively it could be replaced with a line saying something like:
In the screenshot above for example, the radius of the sphere could be increased from its default value of 50 Å to 5000 Å in order to get the transform to show something more sensible.
Description
Changes the x-axis label on the residuals SESANS plots from z to delta.
Fixes #2663
How Has This Been Tested?
Load SESANS example data, send to fitting, and plot residuals. This PR is tied to another in sasdata that fixes the x-axis label on the 1D data plot for SESANS (SasView/sasdata#60).
Review Checklist (please remove items if they don't apply):