Python Interface

This page discusses specific parts of, and how the Python interface for it could look like. The subsections could roughly go along the chapters of the User's Guide.

In general, we keep to the Python Conventions and the Python Guidelines.

Global Variables (setmd)

 * We want to get rid of any global variable that is possible and put them into a corresponding class.
 * As long as specific functionality/variables are global in the C-code, the Python interface uses the Highlander Pattern that throws an exception when a class is instantiated twice.
 * Often we use properties to model variables.

Example Code

 * There can only be one  object.