Skip to content
Snippets Groups Projects
  1. 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
  2. Dec 04, 2024
    • Alexis GAMELIN's avatar
      Merge branch 'feature-tests' into 'develop' · 44ed32fd
      Alexis GAMELIN authored
      Add test suite
      
      See merge request !21
      44ed32fd
    • 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
  3. Oct 01, 2024
  4. Sep 17, 2024
  5. Sep 16, 2024
  6. Aug 12, 2024
  7. Aug 09, 2024
  8. Aug 06, 2024
  9. Aug 05, 2024
  10. Aug 01, 2024
  11. Jul 31, 2024
  12. Jul 30, 2024
  13. Jul 28, 2024
  14. Jul 25, 2024
  15. Jul 18, 2024
  16. Jul 17, 2024
Loading