meg_pilot: finished script to extract frequencies (now to put it in a loop to search all channels and freqbands);