Skip to content
Snippets Groups Projects
  1. Feb 19, 2021
  2. 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
  3. Nov 12, 2020
  4. Oct 02, 2020
  5. 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
  6. Sep 28, 2020
  7. 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
  8. 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
  9. Aug 17, 2020
    • Watanyu Foosang's avatar
      Improve deconvolution methods · 04284715
      Watanyu Foosang authored
      - Deconvolution methods in WakeFunction and Impedance class were improved.
      - Analytical impedance calculation method was added to Resonator class.
      - Wake potential calculation method in WakePotential2 class was corrected.
      04284715
    • Watanyu Foosang's avatar
      Add deconvolution methods, restructure wakefield module, and add new wake potential class · a83e4ca1
      Watanyu Foosang authored
      - New Wakefunction class to store a wake function object.
      - New deconvolve_wp and deconvolve_imp methods were added in Wakefunction class.
      - New  get-impedance method was added in Impedance class.
      - New Resonator class to calculate the analytical resonator wake function.
      - New Wakepotential2 class to take in wake function objects, then compute the wake potential and do the tracking.
      a83e4ca1
  10. Aug 10, 2020
  11. Jun 12, 2020
    • Gamelin Alexis's avatar
      Misc improvements on wakefield.py · 9ca25437
      Gamelin Alexis authored
      Add effective impedance calculation to ImpedanceModel
      Rework plot_area to support transverse impedance and add better legend and scaling
      double_sided_impedance : new function to add negative frequencies to impedance spectrums
      effective_impedance : tuneS as input, use double_sided_impedance and xi input is used
      beam_loss_factor : uses double_sided_impedance
      Correct a few bugs in wakefield.py
      9ca25437
  12. 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
  13. Jun 08, 2020
  14. May 29, 2020
    • Gamelin Alexis's avatar
      Tools for impedance models · 4950216f
      Gamelin Alexis authored
      Changes in loss_factor to use frequency instead of omega
      Read_CST forces to have positive real part of longitudinal impedances
      New functions : Gaussian_bunch_spectrum, beam_spectrum, beam_loss_factor
      ImpedanceModel.plot_area in GHz
      4950216f
  15. Apr 24, 2020
  16. Apr 14, 2020
  17. Apr 09, 2020
    • Gamelin Alexis's avatar
      ImpedanceModel object · 335d8e46
      Gamelin Alexis authored
      Add a ImpedanceModel object which derives from Element and is used to sum up different Wakefield elements
      Fix uppercase module in resistive_wall.py
      335d8e46
  18. Apr 03, 2020
    • Gamelin Alexis's avatar
      Add taper Wakefield elements · 42cd27aa
      Gamelin Alexis authored
      Circular and rectangular tapers
      Correct module name in tools.py
      Add kick factor calculation for quadrupolar wakes (similar to dipolar ones)
      42cd27aa
  19. Mar 12, 2020
Loading