Skip to content
Snippets Groups Projects
  1. 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
  2. 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
  3. Feb 26, 2021
  4. Feb 19, 2021
  5. Nov 22, 2020
  6. 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
  7. Nov 09, 2020
  8. 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
  9. May 28, 2020
  10. Apr 24, 2020
  11. Apr 20, 2020
  12. 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
  13. 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
  14. Apr 14, 2020
  15. 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
  16. Apr 01, 2020
  17. Mar 16, 2020
  18. Mar 12, 2020
  19. Mar 11, 2020
  20. Mar 06, 2020
  21. Feb 14, 2020
  22. Feb 13, 2020
  23. Feb 07, 2020
Loading