analysis code for ZTE papers