User:Richli/Scientific Python old

From ArchWiki
< User:Richli
Revision as of 06:08, 21 March 2012 by Richli (talk | contribs)
Jump to navigation Jump to search


Several packages exist for scientific/numerical computing using Python: typical ones include numpy, scipy, and matplotlib. These are commonly used to provide a free alternative to matlab. (TODO: mention other packages, like chaco, mayavi, scikits, etc?)


numpy, scipy, and matplotlib are all available in extra/community (TODO: add links).

Improving Performance


numpy and scipy use basic blas/lapack routines, but using atlas (AUR) will fine-tune these basic routines to the processor architecture (TODO: talk more about atlas).

Unfortunately, numpy does not seem to recognize atlas unless it's rebuilt with atlas already present on the system. So we use the ABS to rebuild numpy after installing atlas.


(TODO: Add background to FFTW) Recent versions of numpy/scipy no longer use FFTW. python-fftw3 from AUR is a python wrapper to extra/fftw.

Show code examples to use python-fftw.