Experiment 2. A, AAV was used to express GCaMP6 in aPVT or pPVT in separate animals and fiber optic cannulae implanted into these regions. Representative images show native GCaMP expression and DAPI staining in PVT (green, native GCaMP; blue, DAPI; Scale bar, 100 μm), native GCaMP expression for aPVT and pPVT (Scale bar, 500 μm), as well as location of fiber tips for all animals included in the analyses. B, Representative demodulated photometry traces from aPVT (during aversive training) and pPVT (during appetitive training). C, Rats received Pavlovian aversive conditioning and acquired fear responses to the CS. Photometry traces show mean ± SEM %ΔF/F across trials for the 1 s prior and 3 s after CS and aversive US presentations. D, Rats received Pavlovian appetitive conditioning and acquired magazine entries during the CS. Photometry traces show mean ± SEM %ΔF/F across sessions for the 1 s prior and 3 s after CS and appetitive US presentations. E, Rats were tested for appetitive and aversive behaviors in their respective training contexts. Photometry traces show mean ± SEM %ΔF/F across trials for the 1 s prior and 3 s after CS presentations in each context. F, Scatterplots of subject-normalized CS-elicited PVT activity (AUC 0.5–1.5 s from CS onset) and associated conditioned responding across initial aversive conditioning trials. *Indicates lower bound 99% CI > 0%ΔF/F (colored lines above traces). aPVT, n = 10; pPVT, n = 8.