impactx icon indicating copy to clipboard operation
impactx copied to clipboard

Add dispersion to reduced diagnostics

Open cemitch99 opened this issue 1 year ago • 2 comments
trafficstars

Modified the reduced beam diagnostics to include beam-based dispersion values dispersion_x , dispersion_y and their derivatives dispersion_px, dispersion_py. Close #678.

The transverse Twiss functions beta_x, beta_y, alpha_x, alpha_y were modified to account for correlations with energy in a dispersive beamline.

  • [x] Add horizontal dispersion and modify horizontal Twiss calculations
  • [x] Add vertical dispersion and modify vertical Twiss calculations
  • [x] Modify output of reduced diagnostics to include dispersion
  • [x] Add benchmark test
  • [x] Add read of reduced diagnostics to analysis script
  • [x] Modify documentation

cemitch99 avatar Aug 16 '24 01:08 cemitch99

All tests currently pass except Windows. Windows test fails because of trouble opening diags/reduced_beam_characteristics_final.0.0

cemitch99 avatar Aug 16 '24 23:08 cemitch99

Note: Windows / MSVC w/o MPI shared currently fails #650 but in a later test.

ax3l avatar Aug 19 '24 16:08 ax3l

@cemitch99 oh, we forgot to update the documentation in https://impactx.readthedocs.io/en/latest/dataanalysis/dataanalysis.html#reduced-beam-characteristics

ax3l avatar Aug 20 '24 18:08 ax3l

Added in #686

ax3l avatar Sep 04 '24 20:09 ax3l