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

qGaussian, binomial and parabolic particle distribution #110

Open
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

ewaagaard
Copy link
Contributor

@ewaagaard ewaagaard commented Mar 26, 2024

Description

Added functionality in SingleRFHarmonicMatcher to generate binomial particle distribution as described by Joho, 1980 and q-Gaussian distributions, in a similar fashion to parabolic. This type of longitudinal distribution is observed for SPS ions at injection. Includes test and example of longitudinally binomial/q-Gaussian and transversely Gaussian particle distribution.

This pull request also include the previous parabolic particle pull request #80 and closes it.

Checklist

Mandatory:

  • I have added tests to cover my changes
  • All the tests are passing, including my new ones
  • I described my changes in this PR description

Optional:

  • The code I wrote follows good style practices (see PEP 8 and PEP 20).
  • I have updated the docs in relation to my changes, if applicable
  • I have tested also GPU contexts

@ewaagaard
Copy link
Contributor Author

Now PR is updated: only generating longitudinal coordinates, not enforcing Gaussian transverse.
Both binomial and parabolic coordinates available, with examples also tested on GPUs.

@ewaagaard ewaagaard changed the title Binomial particle distribution Binomial and parabolic particle distribution Jun 13, 2024
@ewaagaard ewaagaard changed the title Binomial and parabolic particle distribution qGaussian, binomial and parabolic particle distribution Jul 4, 2024
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.

1 participant