Skip to content
Snippets Groups Projects

Normalization by average_beta / local_beta

Merged Alexis GAMELIN requested to merge fix-average_beta into develop

Proposal to fix the issue raised by @alphaover2pi over email.

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

To be discussed ...


Update:

  • Adds Optics.average_beta attribute
  • Both ImpedanceModel and LongRangeResistiveWall uses it.
  • Add pytest markers for tests and update .gitlab-ci.yml and pyproject.toml files.
  • Tags tests with markers.
Edited by Alexis GAMELIN

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading