A simple example of using some of GSL's C functionality.
Also, its hella faster and costs less memory than Scipy's equivalent.
Edit setup.py
to point to your GSL libraries, etc. Then,
python setup.py build_ext --inplace
For the example,
python demo.py
demo.png
should look something like: