Skip to content
Snippets Groups Projects
  1. 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
  2. Mar 01, 2021
  3. Feb 26, 2021
  4. Feb 25, 2021
  5. Feb 19, 2021
  6. 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
  7. Dec 18, 2020
  8. Nov 22, 2020
  9. 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
  10. 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
  11. Nov 13, 2020
  12. 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
  13. Nov 10, 2020
  14. Nov 09, 2020
  15. 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
  16. Oct 26, 2020
  17. 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
  18. 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
  19. Oct 14, 2020
  20. Oct 12, 2020
  21. Sep 30, 2020
    • Gamelin Alexis's avatar
      Bugfix · f980290c
      Gamelin Alexis authored
      Correct scale in plot_wakedata
      Avoid circular import by moving import in function
      f980290c
  22. Sep 29, 2020
  23. Sep 25, 2020
    • Gamelin Alexis's avatar
      Rework WakePotential and Resonator · 59b23630
      Gamelin Alexis authored
      Add transverse wake potential to WakePotential and move class to dedicated file
      Merge Resonator and TransverseResonator into Resonator with dedicated file
      wakefunction_from_imp -> change trimming to allow for a float value
      wakefunction_from_imp -> transverse impedance divided by 1j, to be checked with impedance convention but ok with benchmark
      Wakefield -> add wake_components
      59b23630
  24. Sep 23, 2020
    • Gamelin Alexis's avatar
      Add ion critical mass and fixes · d3ab3cff
      Gamelin Alexis authored
      Fix mbi_threshold to have sigma in [s}
      Add plot_critical_mass to instabilities (ions)
      Add sigma(position) to synchrotron to compute the beam size at any ring location
      d3ab3cff
  25. Aug 17, 2020
  26. Aug 10, 2020
  27. Jun 19, 2020
  28. Jun 12, 2020
  29. Jun 10, 2020
    • Gamelin Alexis's avatar
      Rework import · cb8b05d8
      Gamelin Alexis authored
      Remove tools.py to avoid circular import problem with wakefield.py -> merged into wakefield.py
      Remove machines folder to save machine data in a seperate git instance
      Rework import so the code can be used as independant module mbtrack2
      cb8b05d8
  30. Jun 09, 2020
    • Watanyu Foosang's avatar
      Bug fix for plot_profiledata · 1c750a8d
      Watanyu Foosang authored
      - Shift of x-axis when start is changed has been fixed.
      - Added option to plot other dimensions apart from 'tau'.
      - Improved code conciseness and efficiency.
      1c750a8d
  31. Jun 04, 2020
    • Watanyu Foosang's avatar
      Add plot_profiledata function · 0ac697ba
      Watanyu Foosang authored
      A new function for plotting profile monitor has been added. Two types of plot can be obtained : bunch profile evolution and streak plot.
      0ac697ba
  32. May 29, 2020
  33. May 28, 2020
Loading