Sunday, September 21, 2008

Harvard Archers back in session

Yes! Gotta did out the old bow from the box - if I can find it...

Saturday, September 20, 2008

Installing Eric4

Eric4 is more involved to install than SPE.

Install SIT
sudo make install

Install PyQT
sudo make install

Install QScintilla
cd Qt4
sudo make install
Now make the Qsci module
cd ../python
sudo make install

Now install Eric
sudo python

Installing SPE

Install wxPython mac OS dmg
Grab spe from subversion:
svn checkout svn://
SPE runs right off the bat. The things I didn't like

  1. Small interface bugs involving the side panels.
  2. Somewhat kludgy editor font handling (if you switch from the default courier font)
  3. Somewhat unresponsive
Otherwise it has what I need - code intelligence, code completion, syntax highlighting.

Monday, September 8, 2008

Where to post code snippets on line

As I've been learning python and using it more and more in my analysis work I've
been wondering where I can go to post and find code snippets for python. A
central file exchange, much like matlab's file exchange, would be great.

I'm thinking of a very streamlined, blog like interface, where you log in,
upload a bunch of .py files and then write a little description of what the code
does and add some tags to it.

I asked this question on the matplotlib mailing list and got the following pointers to snippet repositories:

Activestate (from Michael Droettboom)
Snipplr (from Derek Hohls)

Thursday, September 4, 2008

Eye painting

Plot of my eye movements as I fixate on points appearing on a uniform screen. Data obtained using an infrared eyetracker (Eyelink 1000)