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