Code for analysing the ASE