cpymad.madx

This module defines a convenience layer to access the MAD-X interpreter.

The most interesting class for users is Madx.

Classes

Madx([libmadx, command_log, stdout, ...])

Python interface for a MAD-X process.

ArrayAttribute(element, values, name)

AttrDict(data)

BaseTypeMap(madx)

Command(madx, data)

Raw python interface to issue and view MAD-X commands.

CommandLog(file[, prefix, suffix, own])

Log MAD-X command history to a text file.

CommandMap(madx)

Element(madx, data)

ElementList(madx, sequence_name)

ExpandedElementList(madx, sequence_name)

GlobalElementList(madx)

Mapping of the global elements in MAD-X.

Metadata()

MAD-X metadata (license info, etc).

Sequence(name, madx[, _check])

MAD-X sequence representation.

SequenceMap(madx)

Mapping of all sequences (Sequence) in memory.

Table(name, libmadx, *[, columns, rows, _check])

MAD-X twiss table.

TableMap(libmadx)

Mapping of all tables (Table) in memory.

VarList(madx)

Mapping of global MAD-X variables.

VarParamList(madx)

Mapping of global MAD-X variables.

Version(release, date)

Version information struct.

TwissFailed

Variables

metadata

MAD-X metadata (license info, etc).

Class Inheritance Diagram

Inheritance diagram of cpymad.madx.Madx, cpymad.madx.ArrayAttribute, cpymad.madx.AttrDict, cpymad.madx.BaseTypeMap, cpymad.madx.Command, cpymad.madx.CommandLog, cpymad.madx.CommandMap, cpymad.madx.Element, cpymad.madx.ElementList, cpymad.madx.ExpandedElementList, cpymad.madx.GlobalElementList, cpymad.madx.Metadata, cpymad.madx.Sequence, cpymad.madx.SequenceMap, cpymad.madx.Table, cpymad.madx.TableMap, cpymad.madx.VarList, cpymad.madx.VarParamList, cpymad.madx.Version, cpymad.madx.TwissFailed