# PPM

## Pythonic Programming for Multilayers

Alessandro MIRONE

ESRF

## Download and installation

This ftp link points to a download zone where you can find the binary packages you need and instruction to install easily PPM

## Description of the packages

Once you have installed the packages, following the instruction found in the download zone, you can use the scalar and the magnetic version

of the PPM packages by running

/scisoft/ESRF_sw/linux_i386/PACKAGES/PPM/WRAPPERS/ppm

and

/scisoft/ESRF_sw/linux_i386/PACKAGES/PPM/WRAPPERS/ppmtens

respectively.

PPM is written in C for the low level, numerically time consuming, part, and in Python for the high level part.

It is possible to use PPM as a Library, describing syntactically your model with a set of high level python instruction, and this

methodology allows the most advanced use of PPM.

However the most common use of PPM is through the graphical interface.

This manual explains the utilisation of such a graphical interface for the newbyes.

The graphical interface used for PPM is a really original one. I have create such an interface to manipulate

graphically the Classes and Methods provided by the PPM library.

More in general, my original graphical interface ( that I called pyguibeans ), allows to manipulate graphically the functionalities of a

generic Python library, once a short description of classes and methods is provided to the interface in a suited format.

Of course I have already done the work for you, of exporting PPM library to pyguibeans, and the result is summarized by the following screenshot :

##

##