:mod:`ocelot.adaptors.elegant2ocelot` ===================================== .. py:module:: ocelot.adaptors.elegant2ocelot .. autoapi-nested-parse:: Created on 05.04.2013 @author: I. Zagororodnov modified by S. Tomin Usage: # file.flo and file.par must be converted in text format (e.g. by sdds2spreadsheet.exe) sequence = read_lattice_elegant(file_flo=file_flo.txt, file_par=file_par.txt) lat = MagneticLattice(sequence) Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: ocelot.adaptors.elegant2ocelot.read_file ocelot.adaptors.elegant2ocelot.read_twi_file ocelot.adaptors.elegant2ocelot.read_lattice_elegant .. function:: read_file(filename) .. function:: read_twi_file(namefile) .. function:: read_lattice_elegant(file_flo, file_par)