Code for tau analysis at UCL