Skip to content

Conversation

@Lomholy
Copy link
Collaborator

@Lomholy Lomholy commented Jul 23, 2025

Absorption was a factor of 100 larger than is postulated in the description and in the code.

It used the wrong distance travelled for calculating the absorption.

Both of these things have been fixed. With this, it aligns with my analytical validation.

Absorption was a factor of 100 larger than is postulated in the description and in the code.

It used the wrong distance travelled for calculating the absorption
@willend
Copy link
Contributor

willend commented Jul 23, 2025

Hi @Lomholy thanks for yet another PR that will have to sit and wait while I am on vacation.

One thing you might do in the meantime is to find / check the related test-instrument(s) and adapt the corresponding %Example value. (I believe the comp is used I at least one of the templateSANS oriented instruments.)

Cheers
Peter

Copy link
Collaborator Author

@Lomholy Lomholy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Peter,

Oh yeah, sorry about that!

I found only one test that failed because of the changes, and this one was updated in the newest commit.

There were around 8 that used the component, but their %Examples were not all related to the scattering of the component.

Hope you enjoy your vacation!

Kind regards,
Daniel

@willend
Copy link
Contributor

willend commented Aug 4, 2025

@Lomholy I am now back from vacation. :)

Thanks for the updated %Example value also. As a precaution and out of old habit I just ran the "test tools" on the modified branch for all the instruments including Sans_spheres (plus a couple of more in fact). It all checks out OK:
https://tmp.mcstas.org/mcstas-test-Sans_spheres/

Merging now.

@willend willend merged commit 3e8d3d2 into main Aug 4, 2025
44 checks passed
@Lomholy Lomholy deleted the SANS_spheres_validation_update branch August 26, 2025 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants