Skip to content
Snippets Groups Projects
  1. Dec 12, 2024
  2. Dec 06, 2024
    • Alexis GAMELIN's avatar
      Normalization by average_beta / local_beta · 9aea7ee1
      Alexis GAMELIN authored
      **Warning, this fix contains changes which will change the default behavior of core functions:**
      
      * Default behavior of Optics is changed when AT lattice is loaded: now default to optic function to s=0 instead of average ones.
      * Default behavior of LongRangeResistiveWall and ImpedanceModel when an AT lattice is loaded is to normalized by average_beta / local_beta
      * Adds Optics.average_beta attribute
      * Add pytest markers for tests and update .gitlab-ci.yml and pyproject.toml files.
      9aea7ee1
  3. Dec 04, 2024
    • Alexis GAMELIN's avatar
      Add a test suite and fix some bugs. · 70c22175
      Alexis GAMELIN authored
      Code modifications:
      
      * [Fix] adts in TransverseMapSector
      * ComplexData.name_and_coefficients_table is now a staticmethod.
      * Extend WakeField to "mixed" componenets (xydip, yxdip, ...).
      * Small fix/improvements for rf.py (CavityResonator for n_bin=1)
      * [Fix] WakePotential.check_sampling method.
      * [Fix] Sweep.plot method.
      * Add Element.track_bunch_if_non_empty decorator.
      * Modify Bunch.binning to add a return_full_length optional parameter.
      * Modify Mpi.share_distributions for n_bin=1.
      * Modify TransverseSpaceCharge to work with track_alive = True.
      * Modify WakePotential for n_bin=1 and use track_bunch_if_non_empty decorator.
      * [Fix] IntrabeamScattering for nonuniform fills with Beam.mpi_switch == False
      * Modify PhysicalModel to return errors if needed.
      * Update BeamIonElement
      
      Project management:
      
      * Update pyproject.toml and poetry.lock with pytest-mock
      * Add assert_attr_changed test function.
      70c22175
  4. Jul 17, 2024
  5. Jun 18, 2024
    • GUBAIDULIN's avatar
      New features! · 9120d697
      GUBAIDULIN authored
      1) Adds a beam_ion_effects module. Beam-ion interaction is implemented with weak-strong, strong-strong and Particle-In-Cell models.
      New classes: BeamIonElement, IonParticles, IonAperture, IonMonitor
      2) Adds space-charge module, implementing TransverseSpaceCharge class.
      3) Adds electromagnetic fields module. Handles Faddeeva function and electromagnetic fields for space-charge and beam-ion interactions.
      
      Other minor improvements are made to the code.
      9120d697
  6. Mar 25, 2024
  7. Oct 24, 2023
  8. Oct 10, 2023
Loading