Skip to content
Snippets Groups Projects
  1. 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
  2. Apr 21, 2021
  3. 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
  4. 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
  5. Mar 12, 2021
  6. 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
  7. Feb 25, 2021
  8. Dec 18, 2020
  9. Nov 10, 2020
  10. 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
  11. Sep 29, 2020
  12. Jun 19, 2020
  13. 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
  14. 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
  15. May 28, 2020
  16. 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
  17. Apr 24, 2020
  18. Apr 20, 2020
  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
Loading