pypho can be downloaded in different zip-formats from the Gitlab of the LRZ:

Alternatively, you can directly clone the repository:

git clone


2018-10-10: V1.0

New functions and fast multithreaded version of the fiber module.

2018-06-08: V0.5

Initial version


There is no installation required. Just download the repository and start the python code.

Some packages are required. Using Ubuntu the installation is quite easy:

sudo apt-get install python-numpy
sudo apt-get install python-scipy
sudo apt-get install python-fftw
sudo apt-get install python-matplotlib

cfiber: Faster fiber simulation by multithreading

If you want to use the faster version of the fiber simulation, you have to compile it on your computer. Furthermore, you should install the latest version of FFTW enableling multithreading.

The following steps are recommended:

  1. Install python-fftw:
    sudo apt-get install libfftw3-dev libfftw3-doc

  2. Download the latest version of FFTW and decompress it:
    tar -zxvf fftw-3.3.8.tar.gz
    cd fftw-3.3.8
    Visit to check if there is a new version available.

  3. Install it:
    sudo ./configure --enable-threads --enable-openmp
    sudo make
    sudo make install
    Find out here how to optimize it on your computer:

  4. Install cython:
    sudo apt-get install build-essential
    pip install Cython

  5. Build the fiber modell
    python build_ext --inplace

  6. Test the code as described in the example