Replies: 1 comment
-
Hi @OLuckyG, Sorry for the delay, there was some travel and vacation on my end. The values are calculated from particles and dispersion calculations tend to be non-converged and noisy with low particle numbers. Do your values get better when you add more particles and converge to expected values? Their calculation is done here: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have a question about the step file that ImpactX generates. In the step file, there are the dispersion coordinates. How are these calculated?
I have designed a ring where the initial position starts from a straight section where there shall be no dispersion, the first cell is: Drift-Solenoid - Drift kind of straight cell. I give my own generated distribution using:
When I check the step file, the zeroth step, where it is at the beginning of the cell, the dispersions in x and y reads: (0.2037306687794294,-0.2772598763007251) I have tried using the distribution function generation defined with 6D gaussian using the **twiss helper function, and it give the same result. I realized in the manual, for defining the Gaussian distribution from$\lambda$ coordinates, there are dispersion parameters.
I wonder if this is due to the way I defined the coordinates and need some more parameters to define or there is some other reason?
The distribution I generate is a specific coupled distirbution in$x-y$ plane, however I see the same effect while using the incode distribution generation as well:
I wonder why the "dispersion" functions in the step file gives non-zero entries for a straight cell at the beginning of the ring...
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions