program in ipython notebook which shows a first attemp to calibrate TIM data