Skip to content
Snippets Groups Projects
  1. Apr 07, 2021
    • Gamelin Alexis's avatar
      Add bunch to bunch monitoring of the CavityMonitor · 4da6ea49
      Gamelin Alexis authored
      Add a dict_dtype optional parameter to Monitor.monitor_init to allow to choose the dtype to use to save the data.
      Improve CavityMonitor to allow for saving beam and cavity phasor for all bunches
      Add a plot_cavitydata function
      Fix a bug on CavityResonator.track -> nturn += 1 at correct time
      Change CavityResonator.track to allow for monitoring the cavity/beam phasor at each bunch
      4da6ea49
  2. Apr 06, 2021
  3. Apr 01, 2021
  4. Mar 31, 2021
    • Gamelin Alexis's avatar
      Fix bug for cavity resonator · 82dbcc29
      Gamelin Alexis authored
      In track method of cavity resonator, there was an additional phasor decay of bin length.
      To avoid that the good boundaries are set bins[0] instead of center[0].
      For now the bins are also shared in Beam.mpi_share_distributions
      82dbcc29
  5. Mar 26, 2021
    • Gamelin Alexis's avatar
      Allow for CavityResonator tracking without mpi · 2e81752b
      Gamelin Alexis authored
      Add single core tracking for CavityResonator
      Correct missing ref_frame is CavityResonator.track
      Change phase of generator voltage to be the bin phase
      Correct generator phase for non integer m
      Change init_phasor track time to 10 times
      Change phasor_evolution k to change order of steps
      2e81752b
    • Gamelin Alexis's avatar
      Change beam phasor evolution + phasor init · 665273f5
      Gamelin Alexis authored
      Add phasor initialization (on the "rf" reference)
      Change beam phasor evolution to allow for "beam" or "rf" reference
      665273f5
  6. Mar 18, 2021
  7. Mar 15, 2021
    • Gamelin Alexis's avatar
      Tracking for CavityResonator · 9be14b74
      Gamelin Alexis authored
      Add tracking to CavityResonator based on the mbtrack implementation but using a analytic formula for speed-up
      Add method to Beam to share longitudinal distributions
      Add methods to Mpi to look for next and previous bunches
      Add start of a CavityMonitor, to improve to deal with multi-cores
      9be14b74
  8. Mar 12, 2021
  9. Mar 09, 2021
  10. Mar 08, 2021
  11. Mar 02, 2021
  12. Mar 01, 2021
  13. Feb 26, 2021
  14. Feb 25, 2021
  15. Feb 19, 2021
  16. Dec 22, 2020
    • Gamelin Alexis's avatar
      Bugfix : WakePotential · 438e7747
      Gamelin Alexis authored
      Remove part which was causing "damping".
      We have to re-process the wake function at each track call and not to reuse the previously processed wake function
      438e7747
  17. Dec 18, 2020
  18. Nov 22, 2020
  19. Nov 20, 2020
    • Gamelin Alexis's avatar
      Various improvements · a44dbbf1
      Gamelin Alexis authored
      WakePotential -> add method to plot wake potential for a perfect gaussian bunch
      utilities -> new function gaussian_bunch which gives the gaussian bunch profile
      utilities -> read_IW2D now also reads wake function from IW2D
      utilities -> new function read_IW2D_folder which reads the full results folder of IW2D into a WakeField element.
      resistive_wall -> change the sign of the wake functions to agree with the code convention
      a44dbbf1
  20. Nov 15, 2020
    • Gamelin Alexis's avatar
      Bugfix : PhaseSpaceMonitor · 8010a120
      Gamelin Alexis authored
      Bugfix due to switch to numpy arrays.
      Allow to save less mp than the full number in the bunch.
      
      Bugfix2 : PhaseSpaceMonitor
      8010a120
  21. Nov 13, 2020
  22. Nov 12, 2020
    • Gamelin Alexis's avatar
      Add track_alive option · c670561f
      Gamelin Alexis authored
      Update docstrings
      Use pd.DataFrame representation for bunch __repr__
      Add the track_alive option for Bunch and Beam.init_beam
      c670561f
  23. Nov 10, 2020
  24. Nov 09, 2020
  25. Nov 05, 2020
    • Gamelin Alexis's avatar
      Rework WakePotential · 3545c390
      Gamelin Alexis authored
      Now based on two time arrays!
      The bunch profile is computed from its own time array and interpolated into the wake function time array.
      The input wake functions must be uniformly sampled!
      Reference computation now gives loss factor and kick factor.
      Tested with Wlong and Wxdip/Wydip -> OK
      Untested for Wxquad/Wyquad.
      3545c390
    • Watanyu Foosang's avatar
      TuneMonitor added · 41183c0e
      Watanyu Foosang authored
      41183c0e
  26. Oct 26, 2020
  27. Oct 20, 2020
    • Gamelin Alexis's avatar
      Merge of Vlasov code with mbtrack2 · 85a49966
      Gamelin Alexis authored
      Add CavityResonator class
      Add BeamLoadingVlasov class, to do tested and developped further.
      From BeamLoadingVlasov, only the beam_equilibrium method is well tested and benchmarked.
      The cannonical_transform and solveB methods have to be tested and benchmarked further.
      85a49966
  28. Oct 15, 2020
    • Gamelin Alexis's avatar
      Change sign of LongitudinalMap dtau/dt equation · b33dfbe5
      Gamelin Alexis authored
      Compared to mbtrack, the head/tail convention is reversed which leads to this sign change.
      In this python code, the head is for negative times, t<0.
      The sign change allows successful tracking benchmark with mbtrack for pure inductive and resonator impedance
      b33dfbe5
  29. Oct 14, 2020
  30. Oct 12, 2020
Loading