Skip to content
Snippets Groups Projects
  1. Apr 24, 2020
    • Watanyu Foosang's avatar
      Plotting routine improvement · e7580d69
      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.
      e7580d69
    • Watanyu Foosang's avatar
      Adding plotting methods in Beam class · 37c0a67f
      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".
      37c0a67f
    • Watanyu Foosang's avatar
      Add a simple plot method to Bunch class · bb777c1a
      Watanyu Foosang authored
      Phase space plotting method was added
      bb777c1a
    • Gamelin Alexis's avatar
      Particles : Bugfix · e6ad76ba
      Gamelin Alexis authored
      Filling_pattern update should happen before no_empty is used !
      e6ad76ba
  2. 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
  3. Apr 14, 2020
  4. Apr 09, 2020
    • Gamelin Alexis's avatar
      PhysicalModel · 14bf40b3
      Gamelin Alexis authored
      Class to store physical parameters
      TODO: add up/down and right/left distinction for apperture
      14bf40b3
    • 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
  5. Mar 25, 2020
  6. 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
  7. 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
  8. Mar 16, 2020
Loading