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

Problems in the Oasys treatment of the electron energy dispersion #241

Open
srio opened this issue Jan 29, 2024 · 1 comment
Open

Problems in the Oasys treatment of the electron energy dispersion #241

srio opened this issue Jan 29, 2024 · 1 comment
Assignees

Comments

@srio
Copy link
Member

srio commented Jan 29, 2024

After some discussions with Jae-Hong Lim, Pohang Accelerator Laboratory, South Korea it has been revealed that the treatment of the energy dispersion has problems in Oasys widgets.

As a reminder, the electron energy dispersion significantly enlarges the undulator peaks and the divergences at high harmonics.
It is therefore important for calculating emissions at high harmonics. Its effect on the power load calculations maybe not very significant as most of the power is generated at the lower harmonics, and the total emitted power does not change.

As a summary:

  1. ShadowOui Full undulator does not take into account the electron energy dispersion
  2. ShadorOui SRW/Shadow undulator includes this parameter but does not seem to have an effect on the result.
  3. xoppy undulator spectrum does include this effect when calculating the spectrum (with SRW calculations)
  4. xoppy undulator power density does include this parameter (with SRW calculations) but does not seem to have an effect on the result.
  5. xoppy undulator radiation does not include this parameter. It is included in the script, but it does not have any effect on the result (with SRW calculations).
@srio srio self-assigned this Jan 29, 2024
@lucarebuffi
Copy link
Member

SRW do take that into account, but only in a real ME simulation. I believe that the convolutional approach that I necessarily take in the source generation case, it is not accurate enough at high energies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants