After two days full of reconciling my system to run python and iPython — during which I “\rm -Rf”ed a directory that I shouldn’t have — things appear to be running. I went the way of enthought — which is free for academic use, but then found it is only 32-bit on my 64-bit machine. (Peter Williams also points to Anaconda as an option.) So, I removed all of that, and used homebrew (also see here) to install python and all the libraries I was missing, and pip to install the packages I need.
Now, ipython with the notebook looks like an awesome way to develop!
There is also IDLE.
Now, here are some good resources:
- Python tutorial
- iPython tutorial
- iPython notebook tutorial
- matplotlib tutorial
- Nice exploration of computing performance in python
- And another computational comparison by Dan Stowell
- numpy tutorial
- Numpy and Scipy documentation
- Scipy Central
- matching pursuit in python
- orthogonal MP in python
- The Bregman Audio-Visual Information Toolbox
- Converting notebooks to a more reader-friendly format
- “I also think it’s not hard to imagine a world where scientific papers are all just literate programs.“
- Python wrapper for YAAFE.
Note the fix here, which worked for me. I also had to manually specify my matlab path in ccmake.
You might find interesting the scikit-learn package which also contains an implementation of omp:
http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.OrthogonalMatchingPursuit.html#sklearn.linear_model.OrthogonalMatchingPursuit
LikeLike
Why did not you just use Anaconda?
LikeLike