Skip to content
Snippets Groups Projects
  1. Apr 29, 2021
    • Gamelin Alexis's avatar
      Improve plot_beamdata · 1061aaa0
      Gamelin Alexis authored
      Add options to plot beamdata vs index and in streak plot mode
      Add setting of colorscale for plot_cavitydata
      1061aaa0
  2. Apr 23, 2021
    • Gamelin Alexis's avatar
      Fix TuneMonitor · 7507d659
      Gamelin Alexis authored
      Fix bug when buffer_size=1 in TuneMonitor by switching to init buffer_count to 0. Now total_size should be 1 less.
      Improve plot_tunedata
      7507d659
    • Gamelin Alexis's avatar
      Fix monitor plotting · 7ab381fa
      Gamelin Alexis authored
      Fix plot_profiledata error due to change to center instead of bins
      Fix plot_cavitydata legends and turn selection
      7ab381fa
  3. Apr 21, 2021
  4. Apr 07, 2021
    • Gamelin Alexis's avatar
      Add bunch to bunch monitoring of the CavityMonitor · 4da6ea49
      Gamelin Alexis authored
      Add a dict_dtype optional parameter to Monitor.monitor_init to allow to choose the dtype to use to save the data.
      Improve CavityMonitor to allow for saving beam and cavity phasor for all bunches
      Add a plot_cavitydata function
      Fix a bug on CavityResonator.track -> nturn += 1 at correct time
      Change CavityResonator.track to allow for monitoring the cavity/beam phasor at each bunch
      4da6ea49
  5. Apr 06, 2021
  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 12, 2021
  8. 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
  9. Mar 01, 2021
  10. Feb 26, 2021
  11. Feb 25, 2021
  12. Dec 18, 2020
  13. Nov 15, 2020
    • Gamelin Alexis's avatar
      Bugfix : PhaseSpaceMonitor · 8010a120
      Gamelin Alexis authored
      Bugfix due to switch to numpy arrays.
      Allow to save less mp than the full number in the bunch.
      
      Bugfix2 : PhaseSpaceMonitor
      8010a120
  14. Nov 10, 2020
  15. Nov 05, 2020
  16. 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
  17. Sep 29, 2020
  18. Jun 19, 2020
  19. 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
  20. Jun 09, 2020
    • Watanyu Foosang's avatar
      Bug fix for plot_profiledata · 1c750a8d
      Watanyu Foosang authored
      - Shift of x-axis when start is changed has been fixed.
      - Added option to plot other dimensions apart from 'tau'.
      - Improved code conciseness and efficiency.
      1c750a8d
  21. Jun 04, 2020
    • Watanyu Foosang's avatar
      Add plot_profiledata function · 0ac697ba
      Watanyu Foosang authored
      A new function for plotting profile monitor has been added. Two types of plot can be obtained : bunch profile evolution and streak plot.
      0ac697ba
  22. May 29, 2020
  23. May 28, 2020
  24. May 02, 2020
    • Gamelin Alexis's avatar
      Add ProfileMonitor and misc on monitors.py · eba56ed7
      Gamelin Alexis authored
      Add ProfileMonitor to save bunch profile
      Add a track_bunch_data to Monitor class to group the code of track methods from BunchMonitor and PhaseSpaceMonitor
      Implement BeamMonitor for the case without mpi
      Remove hard coded h=416 ! in BeamMonitor
      eba56ed7
  25. Apr 30, 2020
    • Watanyu Foosang's avatar
      Add plot_optics and plot_beamdata · c165102f
      Watanyu Foosang authored
      Two new plotting routines have been added
      - plot_optics for plotting optical variables (beta, alpha, gamma, despersion)
      - plot_beamdata for plotting data recorded by BeamMonitor
      c165102f
  26. Apr 24, 2020
Loading