Skip to content

Conversation

@pkienzle
Copy link
Contributor

@pkienzle pkienzle commented Aug 21, 2025

From @butlerpd

So we got this email on the help desk about the script for fitting data to the guinier_porod model with bumps was not working because bumps is not honoring the qmin (but does honor qmax). James Crake-Merani (ISIS intern) tried it and agrees with me that it should work but says it does not. He also tried doing the mask differently per Wojciech’s suggestion which also did not work.

This PR lets me fit a dataset with qmin and qmax specified using bumps.

To test, uncomment the following:

#datasets[1].qmin, datasets[1].qmax = 1e-4, 4e-3

and run it in bumps:

bumps example/simul_fit.py -s

To test 2D data masks, uncomment the following:

#radial_data.qmin, radial_data.qmax = 0.01, 0.02

and run it in bumps:

bumps example/fit.py -s

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.

2 participants