Finding Atlas regions for top X% of sources

Hi @Raymundo.Cassani thanks for your response.
Sorry for not giving more required details.
I have been doing analysis of time frequency raw data with the help of gui but i want to switch over to scripting for automation of processes.
Below i have attached an image. I am using Mri view for raw data at given time stamp using gui.
then finding the maximum on mri and seeing the region for amplitude >80% .
So i have a list of time stamps(which are top 10 where frequency power is highest using morlet tf) and i want that i dont have to check for every time stamp
I input the time stamp array and get array of regions respectively
Hope you understand.
I will be waiting for the response