radiasoft / sirepo

Sirepo is a framework for scientific cloud computing. Try it out!
https://sirepo.com
Apache License 2.0
64 stars 31 forks source link

ELEGANT, general question #5535

Open rl3418 opened 1 year ago

rl3418 commented 1 year ago

Data (e.g. betax) is only dumped at the edges of components. Is it possible to track the optical parameters with constant time interval?

cchall commented 1 year ago

Because elegant is an s-based tracking code there isn't a perfect way to do this. The closest you can probably come is to used the divide_elements command and set the divisions to be based on maximum_length. This will produce segments that are as close as possible to equally spaced. However, for elements that are not integer multiples of the maximum_length this isn't going to be exact.