ocelot.adaptors.astra_lattice_converter¶
Astra <–> Ocelot lattice converter
Module Contents¶
Classes¶
-
class
ocelot.adaptors.astra_lattice_converter.AstraLatticeConverter¶ -
astra2ocelot(self, filename)¶ :filename - input Astra lattice filename
-
ocelot2astra(self, lattice, pos_start=0.0, filename='lattice.in')¶ :lattice - Ocelot lattice object :pos_start - longitudinal position of the beginning of the first element :filename - output Astra lattice filename
-