Data analysis and statistics:
For each of the ten patterns, the hypotheses tested were:
Hypothesis 1 : patterned light stimulation is responsible
for a decrease in AP amplitude.
Hypothesis 2 : patterned light stimulation is responsible for an
increase in AP latency.
Hypothesis 3 : patterned light stimulation is responsible for the
generation of an outward current.
Hypothesis 4: patterned light stimulation is responsible for a
decrease in the average firing frequency.
The sample sizes required to have a statistical power > 90
% were estimated based on the Cohen’d effect size observed in Ait
Ouares et al. (2019) (ES = mean of light effect /standard deviation of
light effect).