Closed jank324 closed 2 weeks ago
This requires access to the specific beam, right? Seems like that would be a breaking change for the signature of the element.transfer_map
or track_methods.base_r_matrix
functions. Or is there a way to get access to the beam that I am currently missing?
Ah ... good point. There is not ... so the computation can just stay as is. I'm also not finding any other location where the proposed refactoring actually makes sense, so I think we can just close this issue.
We compute
gamma
in quite a few places (e.g.track_methods.py
->base_r_matrix
. TheBeam
class already has arelativistic_gamma
property which we should use instead.