Scientists predict brain activity patterns