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
30 stars 13 forks source link

Add type annotations #5

Closed jank324 closed 1 year ago

jank324 commented 1 year ago

🚀 Feature

Add Python type annotations across Cheetah.

Motivation

Type annotations will help document Cheetah better and catch coding errors earlier with better error messages.