Skip to content

Beamspot width fix - #454

Merged
mgignac merged 1 commit into
masterfrom
mgignac-BS-width-bugfix
Oct 1, 2026
Merged

mgignac merged 1 commit into
masterfrom
mgignac-BS-width-bugfix

Conversation

@mgignac

@mgignac mgignac commented Oct 1, 2026

Copy link
Copy Markdown
Collaborator

gsl_ran_gaussian is already a standard deviation with width sigma. Dropping extra sigma term, which results in a beamspot that is too narrow (sigma^2 instead of sigma).

https://gsl.ampl.com/ref/ran-gaussian.html

…y by sigma again -- which is a bug and makes BS too narrow
@mgignac
mgignac requested review from EBerzin and bloodyyugo October 1, 2026 14:05
@mgignac
mgignac merged commit 2c62b2d into master Oct 1, 2026
1 check passed
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