Skip to content
Snippets Groups Projects
  1. Jun 29, 2023
  2. Apr 21, 2023
    • Alexis GAMELIN's avatar
      Various improvements for the wakefield module · 432853b8
      Alexis GAMELIN authored
      Added class representation for ComplexData, Impedance, WakeFunction, WakeField and Beam classes.
      Rework the deconvolution/from_wakepotential/to_impedance methods for them to work with any data loaded in the Impedance/WakeFunction classes and not just CST text files.
      Add a plot method for the Impedance/WakeFunction classes.
      Improved WakeField class by adding __iter__ and __add__ methods.
      Add a read_ECHO2D function.
      432853b8
  3. Mar 01, 2023
    • Alexis GAMELIN's avatar
      Import function for ABCI files · eedde804
      Alexis GAMELIN authored
      Add the read_ABCI function to import ABCI computed wake and impedance.
      Improve the read_CST function to support wake potential.
      Add a plot method for both Impedance and WakeFunction class.
      eedde804
  4. Feb 06, 2023
    • Alexis GAMELIN's avatar
      [Fix] ImpedanceModel · 9b6fbb54
      Alexis GAMELIN authored
      Fix ImpedanceModel.power_loss_spectrum that needs a double sided impedance spectrum.
      Fix docstrings.
      9b6fbb54
  5. Aug 18, 2022
  6. Aug 12, 2022
    • Alexis GAMELIN's avatar
      Rework wakefield.py to improve WakeFunction class · 231913a3
      Alexis GAMELIN authored
      Both Impedance and WakeFunction now inherit attributes from ComplexData (component_type, power_x, power_y, ...)
      Add a components property to WakeField which lists all components present (W and Z)
      Adapt other classes using Impedance and WakeFunction to the change.
      231913a3
  7. Jul 20, 2022
  8. Jun 09, 2022
  9. Mar 31, 2022
  10. Mar 30, 2022
  11. Mar 25, 2022
    • Alexis GAMELIN's avatar
      Enforce fundamental theorem of beam loading for wake functions · f3296289
      Alexis GAMELIN authored
      Change wake function in CircularResistiveWall to enforce fundamental theorem of beam loading.
      Rework Resonator class to set manually time and frequency arrays and enforce fundamental theorem of beam loading.
      Change to WakeField.impedance_components and WakeField.wake_components to allow methods begining by W or Z in WakeField subclasses.
      f3296289
  12. 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
  13. Oct 02, 2020
  14. 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
  15. Sep 28, 2020
  16. 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
  17. 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
  18. Aug 10, 2020
  19. 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
  20. 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
  21. Jun 08, 2020
  22. 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
  23. Apr 24, 2020
  24. Apr 14, 2020
  25. 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
  26. Mar 12, 2020
  27. Feb 07, 2020
Loading