Fast and differentiable particle accelerator optics simulation for reinforcement learning and optimisation applications.
GNU General Public License v3.0
25
stars
12
forks
source link
Add `dtype` passing to Bmad `Segment` import #206
Closed
jank324 closed 4 days ago
Description
Let's users pass the
dtype
when creating aSegment
from a Bmad lattice.Also fixes a bug where passing
dtype
toParameterBeam.from_twiss
had no effect.Motivation and Context
Solves #204. Related to #195 and #196.
Types of changes
Checklist
flake8
(required).pytest
tests pass (required).pytest
on a machine with a CUDA GPU and made sure all tests pass (required).Note: We are using a maximum length of 88 characters per line