TL_analysis contains the code to carry out the analysis