ocelot.adaptors.elegant2ocelot

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

read_file(filename)

read_twi_file(namefile)

read_lattice_elegant(file_flo, file_par)

ocelot.adaptors.elegant2ocelot.read_file(filename)
ocelot.adaptors.elegant2ocelot.read_twi_file(namefile)
ocelot.adaptors.elegant2ocelot.read_lattice_elegant(file_flo, file_par)