get_xi_interval function

get xi interval