SAD_Parser#

class orbit.parsers.SAD_Parser[source]#

Bases: object

SAD parser

Attributes Summary

SADFilePath

Methods Summary

getSAD_Elements()

Method.

getSAD_ElementsDict()

Method.

getSAD_Lines()

Method.

getSAD_LinesDict()

Method.

getSAD_Variables()

Method.

getSAD_VariablesDict()

Method.

getUnknownLines()

Returns the list of unreccongized string lines in the file.

initialize(SAD_file_name)

This method will do the preliminary editing the input file.

parse(SADfileName)

Attributes Documentation

SADFilePath = ''#

Methods Documentation

getSAD_Elements()[source]#

Method. It returns the list of the lattice elements that are defined in the SAD file.

getSAD_ElementsDict()[source]#

Method. It returns the dictionary of the lattice elements that are defined in the SAD file.

getSAD_Lines()[source]#

Method. It returns the list of the lattice lines that are defined in the SAD file.

getSAD_LinesDict()[source]#

Method. It returns the dictionary of the lattice lines that are defined in the SAD file.

getSAD_Variables()[source]#

Method. It returns the list of the variables that are defined in the SAD file.

getSAD_VariablesDict()[source]#

Method. It returns the dictionary of the variables that are defined in the SAD file.

getUnknownLines()[source]#

Returns the list of unreccongized string lines in the file.

initialize(SAD_file_name)[source]#

This method will do the preliminary editing the input file.

parse(SADfileName)[source]#