Go to file
Jerome Kieffer da739f8ded benchmark for size 2012-10-14 21:59:12 +02:00
benchmark -fix typo in detector (and propagate) 2012-08-22 12:38:41 +02:00
calibration callibration for Chromium oxide 2012-09-28 23:57:10 +02:00
dll Original Commit 2012-06-07 21:43:28 +02:00
doc Original Commit 2012-06-07 21:43:28 +02:00
geometry Update mathematica notebook with geometries calculated with arctan 2012-06-11 10:21:56 +02:00
openCL OpenCL working but not yet perfect 2012-10-13 22:16:53 +02:00
pyFAI-src forget to reset arrays on binning 2012-10-11 09:46:11 +02:00
scripts add an option to reconstruct missing parts of image during 2012-10-01 21:50:31 +02:00
src benchmark for size 2012-10-14 21:59:12 +02:00
test there's a bug at re-importing when running test_all.py -f 2012-09-16 11:31:00 +02:00
.gitignore Changes for win7 64bit msvc compilation 2012-09-14 15:50:32 +02:00
CHANGELOG.txt Big commit fixing most bugs remaining before v0.6 2012-07-03 12:38:37 +02:00
MANIFEST MANIFEST was regenerated 2012-10-07 23:10:53 +02:00
MANIFEST.in will help auto build 2012-09-28 09:39:01 +02:00
README.md fast clean up of the readme 2012-09-18 21:59:35 +02:00
TODO.txt Feature request from ID11: calibration using dark & flat images 2012-07-23 13:37:17 +02:00
build-deb.sh Original Commit 2012-06-07 21:43:28 +02:00
build-msi.bat Original Commit 2012-06-07 21:43:28 +02:00
setup.cfg Use configuration file (setup.cfg) for defining path to OpenCL libraries 2012-09-18 21:52:53 +02:00
setup.py fix OpenCL installation 2012-10-14 10:42:16 +02:00
setup_failsafe.py update failsafe setup.py to include parallel geometry calculation 2012-09-05 21:21:20 +02:00
setup_no_OpenCL.py fail-safe setup.py (no OpenCL and no cython generation) 2012-07-28 19:28:29 +02:00
stdeb.cfg remove unused dependency 2012-10-14 21:48:39 +02:00

README.md

pyFAI : Fast Azimuthal Integration in Python

pyFAI is an azimuthal integration library that tries to be fast (as fast as C and even more using OpenCL) It is based on histogramming of the 2theta/Q position of each (center of) pixel weighted by the intensity of each pixel. Neighboring output bins get also a contribution of pixels next to the border

Installation

pyFAI can be downloaded from the http://forge.epn-campus.eu/projects/azimuthal/files. Presently the source code has been distributed as a zip package and a compressed tarball. Download either one and unpack it. Developement is done on Github: https://github.com/kif/pyFAI

e.g. tar xvzf pyFAI-0.7.0.tar.gz or unzip pyFAI-0.7.0.zip

all files are unpacked into the directory pyFAI-0.7.0. To install these do

cd pyFAI-0.7.0

and install pyFAI with

python setup.py install

most likely you will need to do this with root privileges (e.g. put sudo in front of the command).

The newest development version can be obtained by checking it out from the git repository.

git clone https://github.com/kif/pyFAI.git cd pyFAI sudo python setup.py install

As pyFAI makes use of OpenCL to have some calculation done on the graphic card, it is likely you will have to setup the position of those libraries by editing the setup.cfg file

If you are using MS Windows you also download a binary version packaged as executable installation files (Chose the one corresponding to your python version).

Dependencies

Python 2.6 or 2.7. Compatiblity with python 3 is unchecked. For full functionality of pyFAI the following modules need to be installed.

* numpy 		- 	http://www.numpy.org
* scipy 		- 	http://www.scipy.org
* matplotlib 	- 	http://matplotlib.sourceforge.net/
* fabio			-	http://sourceforge.net/projects/fable/files/fabio/

Ubuntu and Debian Like linux distributions:

To use pyFAI on Ubuntu (a linux distribution based on Debian) the needed python modules can be installed either through the Synaptic Package Manager (found in System -> Administration) or using apt-get on from the command line in a terminal. The extra ubuntu packages needed are:

* python-numpy
* python-scipy
* python-matplotlib
* python-dev

Only Fabio has to be downloaded separatly and installed * python-fabio (from http://sourceforge.net/projects/fable/files/fabio/)

using apt-get these can be installed as:

sudo apt-get install python-numpy python-scipy python-matplotlib python-dev wget http://sourceforge.net/projects/fable/files/fabio/0.0.7/squeeze/python-fabio_0.0.7-1_amd64.deb/download sudo dpkg -i python-fabio_0.0.7-1_amd64.deb