You need a Fortran compiler as f2py
(now part of numpy
) is used during
installation to build python modules from fortran routines. If the installation
fails due to a missing compiler see point 3.
-
Install Xana using pip:
pip install Xana
-
Install Xana from github:
git clone https://github.com/reiserm/Xana.git cd Xana pip install .
-
If a Fortran compiler is not already installed, try
-
Additional remarks on the installation on OSX: if building the module fails, it might help to set the following environment variables:
unset LDFLAGS unset SHELL
The Xana example has been moved to a new repository: Xana_example. It contains an example notebook and an example XPCS data set of 100nm SiO2 nanoparticles dispersed in glycerol. It shows how to create a setup file and calculate correlation functions. A detailed explanation is given in the notebook.