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
27 stars 12 forks source link

Some elements don't have plot methods #66

Closed jank324 closed 10 months ago

jank324 commented 10 months ago

It might even make sense to make this impossible via abstract base class.

cr-xu commented 10 months ago

I think it's a good idea! we should probably make use of the abstract base class

jank324 commented 10 months ago

This is addressed in 99d91c81de23f7a6a8d82ab74d7d984c6c9ceab2 as part of #65.