Skip to content
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

Update quantum diffusion pass methods #534

Merged
merged 6 commits into from
Dec 5, 2022
Merged

Conversation

lfarv
Copy link
Contributor

@lfarv lfarv commented Dec 1, 2022

QuantDiffPass, BndMPoleSymplectic4QuantPass and StrMPoleSymplectic4QuantPass are now using the RNGs introduced in #513.

Also atrandom.c is modified to add mean and stdev input arguments to the Gaussian generator, so VariableThinMPolePass had also to be updated.

The atrandom.c interface should now be stable.

@lfarv lfarv added Matlab For Matlab/Octave AT code Python For python AT code labels Dec 1, 2022
@lfarv
Copy link
Contributor Author

lfarv commented Dec 2, 2022

Waiting for #532 to be merged

@swhite2401
Copy link
Contributor

Looks ok to be but has this been tested? Is tracking giving the correct equilibrium emittance?

@lcarver
Copy link
Contributor

lcarver commented Dec 5, 2022

Looks ok to be but has this been tested? Is tracking giving the correct equilibrium emittance?

Yes, this was the only test that I did.

I also checked to see how many particles were needed to converge on the same sigma_matrix, I found that you needed at least 10000 particles. But also I didn't do a very thorough testing, just of the diagonal terms.

@lfarv lfarv merged commit 8ef93db into master Dec 5, 2022
@lfarv lfarv deleted the update_quantum_diffusion branch December 5, 2022 21:12
@lfarv lfarv mentioned this pull request Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Matlab For Matlab/Octave AT code Python For python AT code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants