Skip to content
Snippets Groups Projects
  1. Jun 20, 2023
  2. Jun 19, 2023
  3. May 05, 2023
  4. 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
  5. Dec 01, 2022
  6. Apr 22, 2022
  7. Mar 31, 2022
  8. Mar 30, 2022
  9. Jan 10, 2022
    • Alexis GAMELIN's avatar
      Allow for particle losses in Monitor classes · db49cb81
      Alexis GAMELIN authored
      Add a is_empty property to the Bunch class.
      Add a check_empty optional parameter to the Monitor.track_bunch_data method.
      ProfileMonitor: if the bunch is empty, no profile is saved.
      WakePotentialMonitor: if the bunch is empty, the same from last good turn is saved.
      BunchSpectrumMonitor: if the bunch is empty, the incoherent spectrum is nan.
      db49cb81
  10. Jul 20, 2021
  11. Jul 02, 2021
  12. May 20, 2021
    • Alexis GAMELIN's avatar
      Add a bunch_index property to Beam class · 1694aa59
      Alexis GAMELIN authored
      bunch_index returns the array with the positions (index) of the non-empty bunches, to be used with Beam.not_empty iterator.
      bunch_mean, bunch_std and bunch_emit now iterate only over non empty bunches.
      1694aa59
  13. Apr 29, 2021
  14. Apr 08, 2021
  15. Apr 06, 2021
    • Gamelin Alexis's avatar
      Minor changes · c4e06696
      Gamelin Alexis authored
      Change back invariant name to cs_invariant
      Simplify SkewQuadrupole track method
      c4e06696
    • Gamelin Alexis's avatar
      Remove energy_change from Bunch · 09a96856
      Gamelin Alexis authored
      Not needed any more due the SynchrotronRadiation change.
      09a96856
    • Gamelin Alexis's avatar
      Various improvements on Beam · 66874533
      Gamelin Alexis authored
      Fix bug on Beam.distance_between_bunches for the last bunch when the first bunches are empty.
      Change Beam.distance_between_bunches to compute the array only at initalization with Beam.update_distance_between_bunches
      Beam.mpi_share_distributions can now share all bunch dimensions.
      66874533
  16. Apr 01, 2021
  17. 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
  18. 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
  19. Mar 09, 2021
    • Watanyu Foosang's avatar
      Add action monitor and plot · 3e817be0
      Watanyu Foosang authored
      - cs_invariant method in Bunch is renamed to 'action'.
      - Action is now saved together with BunchMonitor and can be plotted in plot_bunchdata
      3e817be0
  20. Mar 02, 2021
  21. Feb 26, 2021
  22. Feb 19, 2021
  23. Nov 22, 2020
  24. 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
  25. Nov 09, 2020
  26. 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
  27. May 28, 2020
  28. Apr 24, 2020
  29. Apr 20, 2020
  30. Apr 17, 2020
    • Gamelin Alexis's avatar
      Binning on Bunch + others · a49c3908
      Gamelin Alexis authored
      Add T1 = RF period to synchrotron object
      Add binning and plot_profile to Bunch object // plot_profile to improve
      Modify beam.filling_pattern to store the array instead of computing it every time
      Add distance_between_bunches method to Beam object
      Modify not_empty method of Beam to use filling_pattern
      a49c3908
  31. Apr 16, 2020
    • Watanyu Foosang's avatar
      Plotting routine improvement · 706a8458
      Watanyu Foosang authored
      - "plot_bunchdata" and "plot_phasespacedata" have been separated from particles module.
      - Input prompt has been removed from the code.
      - Plotting method for variables in Beam object such as "bunch_current" and "bunch_charge" with respect to bunch number has been added.
      - Only alive particles plotting option has been added.
      706a8458
  32. Apr 14, 2020
Loading