6. Python Interface

Welcome to the documentation of PYSPEX, the Python interface to SPEX. Since version 3.06.00 we provide a Python interface layer to the SPEX program. This documentation section explains how to use this interface, which is an alternative for the standard command-line interface of SPEX.

Warning

Since this is the first public release of pyspex, the amount of testing in the field has been limited. Be critical and expect errors. Please report issues at our Github page.

Note

As an alternative to some auxilliary programs of SPEX (e.g. trafo), we offer a separate Python package called pyspextools. Please see the Pyspextools documentation for more information.

6.2. Analysis threads

6.3. Advanced class descriptions