Sunday, September 21, 2008

Harvard Archers back in session

http://www.hcs.harvard.edu/archery/index.html

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
ftp http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-4.7.7.tar.gz
python configure.py
make
sudo make install

Install PyQT
ftp http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-mac-gpl-4.4.3.tar.gz
python configure.py
make
sudo make install

Install QScintilla
ftp http://www.riverbankcomputing.co.uk/static/Downloads/QScintilla2/QScintilla-gpl-2.3.tar.gz
cd Qt4
qmake qscintilla.pro
make
sudo make install
Now make the Qsci module
cd ../python
python configure.py
make
sudo make install

Now install Eric
sudo python install.py

Installing SPE

Install wxPython mac OS dmg
Grab spe from subversion:
svn checkout svn://svn.berlios.de/python/spe/trunk/_spe
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)