Extended Data Fig. 5: Fibre photometry calcium recordings and optogenetic manipulations.

a, Location of optic fibre tips (‘X’) for calcium recordings in dmPFC→l/vlPAG neurons during OFL. b, Location of optic fibre tips (‘X’) for calcium recordings in dmPFC→BLA neurons during OFL. c, Shock-to-DEM and CS-related calcium activity in OBS dmPFC→BLA neurons uncorrelated (Pearson’s r) with OBS freezing on early (first 5) or late (last 5) conditioning trials (compare with event-correlated activity in dmPFC→l/vlPAG neurons, depicted in Fig. 3h). n = 5-6 mice/group. d, Increased calcium activity in OBS dmPFC→l/vlPAG neurons during move versus freeze (*P = 0.0226, paired t-test). N = 5 mice. e, Freeze-related calcium activity in OBS dmPFC→l/vlPAG neurons anti-correlates (Pearson’s r) with OBS freezing during OFL. N = 5 mice. f, Optogenetic photoexcitation of dmPFC→l/vlPAG axons, via ChR2 (n = 11 mice), decreases CS-related freezing during Direct conditioned (*P < 0.0021), but not retrieval (P = 0.1806), versus YFP controls (n = 7 mice). Higher CS-related freezing versus pre-CS during conditioning in YFP (#P < 0.0001) and ChR2 (#P < 0.0001). P values from Bonferroni post hoc tests following mixed-model ANOVA. g, Location of optic fibre tips (‘X’) in l/vlPAG for dmPFC→l/vlPAG ChR2 manipulation during OFL. h, Location of optic fibre tips (‘X’) in l/vlPAG for dmPFC→l/vlPAG eArch3.0 manipulation during OFL. Two-tailed statistical tests were used. Data shown as means ± SEM. a.u.; arbitrary units.