Hi
Is it possible to adapt the script for the permutation tests so that the time window of interest is selected based on individual peaks rather than one time window across all participants (to adjust for individual variation in latencies)? Possibly by using the process "Extract>Find maximum in time"? For example if I want to assess the P3 component between two groups then the time window would be the latency of the peak +/- 100 ms for each individual rather than the same time points (i.e. 250-500 ms) for all individuals.