Featured Stories
TEDxUCL
UCL recently hosted their first ever TEDx event, and to my amazement (probably after seeing some seriously dodgy maths themed stand-up I did) they invited me to give a talk….
Converting Latitude and Longitude to British National grid
This code reads in a .csv file called LatLon, expecting two columns with headers – Latitude and Longitude (in WGS84, decimal form). If the script is run in the same…
Converting British National Grid to Latitude and Longitude II
A few months ago, I wrote a python script to convert British National grid coordinates (OSGB36) to latitude and longitude (WGS84). A fellow blogger Andrzej Bieniek very kindly pointed out that the algorithm…
Python bits
-
Other resources for London Underground lab
Posted on May 30, 2013 | No CommentsNetwork data: http://commons.wikimedia.org/wiki/London_Underground_geographic_maps/Tables CSVs in python: http://docs.python.org/2/library/csv.html Simulated annealing: http://en.wikipedia.org/wiki/Simulated_annealing -
How to install Networkx on a mac
Posted on May 30, 2013 | No Comments1) Download the link “networkx-1.6.zip” from here: http://networkx.lanl.gov/download/networkx/ 2) Open your downloads folder and click on the file you just downloaded. Hopefully it should create a second, uncompressed file (also in... -
Basic python syntax
Posted on January 23, 2012 | 5 CommentsA friend of mine has just started using Python, and asked me for a quick run down of the basic syntax. Given that, wherever possible, I try to live my life according...





