Skip to content

Conversation

@pkienzle
Copy link
Contributor

@pkienzle pkienzle commented Sep 5, 2025

Limit s to the range [0, 3].

Fix limiting values for I(q) when Rg or Porod exponent m go to zero. Add limiting value for s=3.

@gonzalezma gonzalezma self-requested a review November 17, 2025 17:06
Copy link
Contributor

@gonzalezma gonzalezma left a comment

Choose a reason for hiding this comment

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

All clear.
Perhaps remove unneeded parenthesis around exp(-ms) * (n*ms/rg**2)**ms?

@pkienzle
Copy link
Contributor Author

Perhaps remove unneeded parenthesis around exp(-ms) * (n*ms/rg**2)**ms?

The parenthesis are there to force python to evaluate the expression as vector * (scalar * scalar) rather than (vector * scalar) * scalar. The second form costs twice as much.

@gonzalezma
Copy link
Contributor

Thanks. I missed that.

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