Error in Phase amplitude coupling

Dear Francois and Samiee

We tried the link shared by you to generate the surrogate data for statistical analysis. However the surrogate option is greyed out in the brainstorm ie it's not allowed in the current version of brainstorm. How to rectify this issue as I have multiple subjectwise tPAC maps & comodulogram for between-group statistics.