MAD_Parser#

class orbit.parsers.MAD_Parser[source]#

Bases: object

MAD parser

Methods Summary

getMAD_Elements()

Method.

getMAD_ElementsDict()

Method.

getMAD_Lines()

Method.

getMAD_LinesDict()

Method.

getMAD_Variables()

Method.

getMAD_VariablesDict()

Method.

initialize(mad_file_name)

parse(MADfileName)

Methods Documentation

getMAD_Elements()[source]#

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

getMAD_ElementsDict()[source]#

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

getMAD_Lines()[source]#

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

getMAD_LinesDict()[source]#

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

getMAD_Variables()[source]#

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

getMAD_VariablesDict()[source]#

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

initialize(mad_file_name)[source]#
parse(MADfileName)[source]#