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
  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
  5. 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
  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. Mar 01, 2021
  8. Feb 26, 2021
  9. Dec 18, 2020
  10. 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
  11. Nov 10, 2020
  12. Nov 05, 2020
  13. Sep 29, 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 29, 2020
  16. 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
  17. Apr 24, 2020
  18. Mar 25, 2020
  19. Mar 24, 2020
    • Gamelin Alexis's avatar
      Monitor with a shared open HDF5 file between cores · b0da65b0
      Gamelin Alexis authored
      The HDF5 is now open only once on all the cores to be able to write in parallel in the same file. The file must be closed at the end of the tracking.
      BeamMonitor is used to save global statistics of all bunches
      Add docstrings
      TODO : Adding a flush() call at some point might be needed !
      b0da65b0
  20. Mar 20, 2020
    • Gamelin Alexis's avatar
      Monitor with open/close · a5daf052
      Gamelin Alexis authored
      Add a monitor module to save tracking data based on h5py
      Bunch Monitor is used to get statistics from a specific bunch
      PhaseSpaceMonitor is used to save the phase space of a specific bunch
      For now the .hdf5 file is opened and closed at each write operation, this seems to cause some problems for mpi.
      a5daf052
Loading