Skip to content
Snippets Groups Projects
  1. Apr 29, 2021
  2. Apr 08, 2021
  3. 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
  4. Apr 01, 2021
  5. 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
  6. 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
  7. 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
  8. Mar 02, 2021
  9. Feb 26, 2021
  10. Feb 19, 2021
  11. Nov 22, 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 09, 2020
  14. 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
  15. May 28, 2020
  16. Apr 24, 2020
  17. Apr 20, 2020
  18. 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
  19. 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
  20. Apr 14, 2020
  21. Apr 09, 2020
    • Watanyu Foosang's avatar
      Adding plotting methods in Beam class · dc83a72d
      Watanyu Foosang authored
      Two plotting methods, "plot_bunchdata" and "plot_phasespacedata", have been added to Beam class.
      "getplot" method in Bunch class has been modified and renamed to "long_phasespace".
      dc83a72d
    • Gamelin Alexis's avatar
      Rework Optics element · efb924a6
      Gamelin Alexis authored
      Optic functions as arrays
      Uses PyAT lattice for import
      Adapt other files for the change
      efb924a6
  22. Apr 01, 2020
  23. Mar 16, 2020
  24. Mar 12, 2020
  25. Mar 11, 2020
  26. Mar 06, 2020
  27. Feb 14, 2020
  28. Feb 13, 2020
  29. Feb 07, 2020
Loading