Tim van Werkhoven's blah blah blah

About me

Tim van Werkhoven by Cima

My name is Tim, I’m working at ASML, a relatively obscure Dutch company, where I work on strategic analyses. Before this, I did my PhD research in the instrumentation group of Leiden Observatory under supervision of Christoph Keller and Hans Gerritsen.

I like science, technology, type, and privacy. Below are some of my interests.


During my PhD (dissertation & template) I developed a snapshot coherence-gated direct wavefront sensing method for multi-photon microscopy on an STW project called Smart Microscopy, where I collaborated with Jacopo Antonello and Hoa Truong. This involved lasers so it was pretty cool. 😎

I’ve also analyzed transiting exoplanets with colleagues in Leiden, namely the Kepler object KIC 1255b (paper) and SuperWASP J1407 (paper). Both these systems are peculiar, the former appears to be burning alive due its extreme close proximity to the host star, while the latter shows signs of a ring system like Saturn’s possibly as big as our orbit around the sun. I mean, the universe is pretty crazy right? And did you know the Kepler telscope used solar pressure to balance itself? 🤯

Before my PhD, I worked on wide-field wavefront sensing (code) for the European Solar Telescope at the Institute for Solar Physics in Stockholm and did my master’s in 2007–2008 on adaptive optics in Utrecht which I finished in August 2008 (thesis & source & code).


Over the years I’ve written various pieces of code — for work or for fun — which are available on github. Hopefully they’re also useful for others, which is why you are free to copy, remix or adapt (not not sell) these in whatever way you see fit.

Some examples include data manipulation scripts, phase unwrapping library, and domoticz data pusher.

I also once made a way too complicated Python tutorial explaining language syntax, objects, datatypes, flow control and functions. Then I figured out a tutorial on the daily use of Python for numerical data analysis with the packages numpy, scipy, matplotlib and pyfits was more useful so I also made that. Both episodes on Github and Dropbox.


I like design and especially typography. When I have some spare time on my hands I sometimes make some doodles in XeTeX/LaTeX and Adobe Illustrator. Below are some doodles that are more or less finished.

LaTeX course

Sentence typeset in different fonts

To spread the love I made a LaTeX lecture (source) to explain the parameter space of typesetting and some less-known detail of (La)TeX.

Dutch railway map

Geometric railway map of the Netherlands

An unfinished geometric railway map of the Netherlands with Futura.

Binas table 31

Binas table 31 crop

Binas table 31 (4th edition) re-created in LaTeX. Because I can.

XeTeX cheatsheet

XeTeX cheatsheet render screenshot

A XeTeX document where I kept all the tricks and hacks I came across writing/procrastinating my thesis. Includes stuff like \defaultfontfeatures, \textsuperscript, \@makechapterhead, \marginpar, \textbackslash, Ligatures, polyglossia, siunitsx, SmallCaps, UppercaseSmallCaps, SlashedZero, Swash contextuals, TitlingCaps, OldStyle numbers, \arraystretch etc. A snapshot rendering is included here, the newest version is available in this gist.