desy-ml / cheetah

Fast and differentiable particle accelerator optics simulation for reinforcement learning and optimisation applications.
https://cheetah-accelerator.readthedocs.io
GNU General Public License v3.0
25 stars 12 forks source link

Unify constants for electron mass #189

Closed Hespe closed 2 weeks ago

Hespe commented 2 weeks ago

Description

In many files there were two identical constants for the electron mass. The duplication is removed and unused imports are deleted.

Motivation and Context

Closes #179

Types of changes

Checklist

Note: We are using a maximum length of 88 characters per line

jank324 commented 2 weeks ago

@Hespe can you add this to the changelog under Other? Then we can also merge this.