Skip to content
Snippets Groups Projects
  1. Dec 11, 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. Aug 09, 2024
  5. Jul 17, 2024
  6. Jul 15, 2024
  7. Mar 25, 2024
  8. Jan 29, 2024
Loading