Skip to main content

Posts

Showing posts from November, 2009

Eptidy

Last summer my flatmates and I made a TV episode tidying program - called eptidy. Its found at http://eptidy.googlecode.com Here is a screenshot:

Animations with matplotlib

For some reason this wasn't overly clear in the documentation, but a simple way to make an animation using the default backend in matplotlib is something like this: from numpy import random , array , arange import matplotlib.pyplot as plt plt . ion () print "starting" x = arange ( 100 ) y = 2 * random . rand ( 100 ) line , = plt . plot ( x , y , 'd-' ) for i in arange ( 1 , 200 ): y = y + random . rand ( 100 ) - 0.500000 line . set_data ( x , y ) ax = line . get_axes () ax . relim () ax . autoscale_view () plt . draw () # redraw the canvas plt . show ()

Kiwi Pycon 2009 - Basic Computer Vision in Python

Well I have given my first ever conference talk! Wasn't any where near as scary as I'd feared and all my live python demos using the webcam worked fine. My slides have been uploaded on slideshare here . Heaps of random snippets from the weekend made it onto twitter . The conference had two main tracks, with delegates enjoying presentations on project management, science and maths, games and animation, and web development. There were also more interactive sessions with conference attendees participating in short presentations or open discussions on a specific theme. All in all I had a great weekend at the conference, learnt heaps and made some new contacts in the Python community. The maths exam the following day wasn't to bad either. Now the next challenge - concurrent systems modelling for scipy.