functions to get indices of in-track and false targets