Davide Gerosa


When I install something, hack computer things, or do a funny calculation, sometimes I write down the steps I did (just in case I have to do it again…). Over the years this resulted in a collection of notes/tutorial/instructions to address specific tasks/questions/issues of scientific research. I hope these pages can save you some time,. Use at your own risk.

• installpython: The best way to install Python
A bit outdated perhaps, this page contains notes to install a fresh python distribution, use python’s virtual environments, have python 2 and python 3 on the same system, and install packages on a cluster. This is the most viewed page of my website!

• installlal: My notes to install the LIGO Algorithm Library (lal)
LAL is the massive library of the LIGO collaboration, with all the software used for analysis of gravitational-wave data. Installation can be tricky, so here is my attempt…

• GWpython: python modules for gravitational-wave research
This is a list of python codes and modules (by me and by others) to perform various tasks in gravitational-wave research. If your code is not here, please let me know and I’ll add it!

• filltex: Automagically fill LaTex bibliography
Are you tired of copying bibtex records when writing papers? We got you covered. This is a web-scraping tool to automatically download citations records from both ADS and INSPIRE and automagically fill bib files. Usage from terminal is straightforward, and it’s also integrated with TexShop!

• svn2git: Farewell SVN, I’m a GIT guy now!
At some point I made the big jump to GIT, I’m a new man and I left SVN behind. These notes describe how to convert old SVN to GIT storing the repository’s history.

• skywalker: Things I like in Python
This is a python module made mostly for myself, where I collect useful functions and tricks to be imported from everywhere.

• nsphere: Volumes of spheres in N-dimensions 
This is based on a short discussion I lead at Caltech on calculating the volume of sphere in many dimensions… Some surprises here.

• simplestrocket: Stacked ball drop
A neat calculation on dropping balls on top of each other, from my year 1 tutoring sessions