Extracting Values of scout activation time-series and time frequencies

Hello Francois,

I am trying to do this exact process but when I run it I get the following error message. Can you assist please?