Introduction

When neurons fire, there follows a localised increase in blood flow to that same brain region. This relationship between neuronal firing and an increase in blood flow is known as neurovascular coupling (NVC), and underpins the principles of blood oxygen level dependent functional magnetic resonance imaging (BOLD fMRI). NVC ensures that the brain receives prompt increases in cerebral blood flow (CBF) to activated regions of the brain, allowing for the rapid delivery of essential nutrients such as O2 and glucose and the removal of waste products such as CO2 and lactate1. This mechanism is important for healthy brain function; accumulating evidence suggests that NVC is impaired in several neurological disorders, including Alzheimer’s disease2,3,4,5. Therefore, understanding how NVC may be altered by disease is integral to furthering our understanding of the onset and progression of such diseases.

Over the last 50 years, the neurovascular field has been revolutionised by the advent of new scientific methods. The development of techniques such as wide-field optical imaging6,7 and two-photon microscopy8, alongside advances in the development of genetically-encoded calcium indicators such as GCAMP9, have been vital in furthering our knowledge of the inner workings of the brain. Just considering the last twenty years, we have discovered the potential role of pericytes10,11,12, astrocytes13,14,15 and even caveolae16 in NVC. Many studies investigating NVC, including several of those previously mentioned were conducted under anaesthesia. The use of anaesthesia has allowed the field to gain an in-depth insight into neural activity and the subsequent haemodynamic response in a controlled environment. However, anaesthesia is not without its pitfalls17.

Not only does anaesthesia dampen neural activity but it can also reduce many aspects of the haemodynamic response—including blood oxygenation, CBF and cerebral blood volume (CBV)18,19 in addition to delaying the time-course of the haemodynamic response18.

To mitigate these effects, several groups, including our own, have developed anaesthetic regimes that produce stable haemodynamic responses, of similar timing and magnitude to those in the awake preparation20,21,22—these regimes can produce stable responses without the confounds of behaviour. Despite this, many groups have begun to move away from the use of anaesthesia. A growing number of studies have used awake, moving animals to investigate NVC and the roles of cells within the neurovascular unit (NVU)16,23,24.

Studies using electrophysiology, two-photon microscopy and intrinsic optical signal (IOS) imaging have shown that locomotion can generate robust increases in neural activity, vessel diameter, and CBV, respectively23,25,26. While these studies focused on how locomotion itself impacts brain haemodynamics (within surface vessels of the brain), Tran et al. explored how locomotion may affect sensory-evoked haemodynamic responses. No significant differences in peak amplitude dilation of arterioles were reported when mice were continuously running during whisker stimulation, went from quiet to running in response to whisker stimulation, or when they remained quiet prior to and after whisker stimulation24—suggesting that locomotion did not have an impact on sensory-evoked haemodynamic responses. However, the study focused on dilation changes in penetrating arterioles, and locomotion may affect sensory-evoked haemodynamic responses within the surface vessels of the brain to a different extent, as it has been shown that the narrowing of the Virchow-Robin space may restrict dilations within penetrating arterioles27.

It is critical to characterise how sensory-evoked haemodynamic responses may be impacted by locomotion for a number of reasons. If sensory-evoked haemodynamic responses are affected by locomotion and locomotion is not monitored, when comparing responses (for example when comparing a disease group to a wild-type (WT) group), differences in neurovascular function could be erroneously assumed to be a consequence of disease, rather than a consequence of differential locomotion.

Therefore, to improve our understanding of how locomotion may impact sensory-evoked haemodynamic responses we used two-dimensional optical imaging spectroscopy (2D-OIS) to investigate changes in cortical blood oxygenation in C57BL/6J mice. We hypothesised that locomotion would increase the amplitude of evoked haemodynamic responses within the cerebral cortex of the brain, as previous research suggests that locomotion leads to greater dilations within surface vessels as compared to penetrating vessels27. Additionally, we hypothesised that the time at which locomotion occurred (in relation to the 2 s whisker stimulation) would also impact evoked haemodynamic responses, with locomotion occurring closer to the stimulation onset being expected to increase the amplitude of the evoked haemodynamic response.

Results

Locomotion alters the sensory-evoked haemodynamic response

Animals received a thinned cranial window surgery to allow 2D-OIS to measure changes in cerebral haemodynamics (Fig. 1a,b)—specifically changes in oxygenated haemoglobin (HbO), deoxygenated haemoglobin (HbR) and total haemoglobin (HbT). During imaging, animals could move on a spherical treadmill whilst whiskers could be stimulated with a mechanical T-bar (Fig. 1a). The treadmill was attached to an optical motion sensor, which allowed us to assess the impact that the amount and timing of locomotion (in isolation and also relative to whisker stimulation) had on the haemodynamic response. Twenty-one individual recording sessions, each with 59 trials, made up the 2 s whisker stimulation data set. For each session, trials were ranked by voluntary locomotion occurring at different time points relative to the whisker stimulation. Evoked haemodynamic time series were generated from the top (n = 6 trials per session) and bottom (n = 6 trials per session) 10% of locomotion-ranked trials, corresponding to trials in which the most and least locomotion occurred, and were averaged across the 21 sessions. All-time series analyses were conducted on the whisker ROI (Fig. 1b, and Fig. 5 column 1).

Figure 1
figure 1

Awake imaging experimental set up. (a) Animals were head fixed and could run on a spherical treadmill. Locomotion data was collected using an optical motion sensor (attached to the ball—not shown). Light (495, 559, 575, 587 nm) was shone onto the thinned cranial window, and haemodynamic responses were collected during 2 s whisker stimulation trials and during spontaneous (no whisker stimulation) trials. (b) Shows a schematic of the mouse brain, zooming in on the somatosensory cortex where imaging occurs, a representative in vivo image with the whisker ROI is also shown. (c) and (d) show representative plots of the distance travelled (grey) and percentage change in HbT (green, taken from an artery within the whisker ROI (see in vivo image (b)) across the 2 s whisker experiment (continuous data recording of the 59 whisker-stimulation trials taken from one representative animal/session, black lines on x axis mark individual 25 s stimulation trials) respectively. Black arrows show large bouts of spontaneous walking. (e) shows total distance travelled during whisker stimulation trials (black/grey) compared to spontaneous trials (pink) averaged for all 21 sessions. Error bars represent ± SEM. (f) shows a violin plot with individual points to show the distance travelled during each session for the different trial types (2 s whisker stimulation and spontaneous trials with no whisker stimulation) (Sign test p = 0.189). Black lines on violin plot represent interquartile range and median. Awake imaging experimental figure (a) and (b) created with BioRender.com. (b) ((in vivo image) also used in Sharp et al.,20, see Fig. 4B).

A representative locomotion and HbT response is shown in Fig. 1c,d. Throughout the stimulations (marked on the x-axis), HbT responses to individual whisker stimulation trials can be observed. Large increases in HbT can be seen that coincide with spontaneous walking events (black arrowheads).

First, we checked whether the presence of whisker stimulation changes the amount of locomotion (Fig. 1e,f). A sign test with continuity correction revealed there was no statistically significant difference in the median distance travelled (Median ± SEM: − 1517 ± 2065) in experiments with a 2 s whisker stimulation (Median ± SEM: 14,894 ± 2732), compared to experiments without whisker stimulation (Median ± SEM: 12,360 ± 1532, z = 1.309, p = 0.189).

We then looked at whether locomotion alters the evoked haemodynamic response. To do this we examined the effects of locomotion across the entire 25 s trial period for the top and bottom 10% of trials ranked by locomotion. We examined how the greatest amount of locomotion influenced the evoked haemodynamic response as compared to the evoked haemodynamic response when the animals moved the least (Fig. 2a–c). Sign tests with continuity correction revealed there were no statistically significant median differences in HbT peak (during a 2 s whisker stimulation) (Median ± SEM: 0.003 ± 0.007) and HbO peak (Median ± SEM: − 0.0004 ± 0.008) during trials with the greatest locomotion (Median ± SEM: HbT: 1.038 ± 0.007, HbO: 1.057 ± 0.009), as compared to when a stimulation occurred during trials with the least locomotion (Median ± SEM: HbT: 1.028 ± 0.003, z = − 0.873, p = 0.383, HbO: 1.049 ± 0.005, z = 0.000, p = 1.000) (Fig. 2b–e). Additionally, a Wilcoxon signed ranks test revealed no significant median difference in HbR peak (during a 2 s whisker stimulation) (Median ± SEM: − 0.0004 ± 0.005) during trials with the greatest locomotion (Median ± SEM: 0.948 ± 0.006), as compared to when a stimulation occurred during trials with the least locomotion (Median ± SEM: 0.945 ± 0.005, z = − 0.330, p = 0.741) (Fig. 2b,c,f).

Figure 2
figure 2

Mean sensory evoked haemodynamic responses in the whisker ROI (Fig. 5 column 1) for trials ranked with the greatest and least locomotion across the entire 25 s trial. (a) Heat map showing locomotion traces for the 59 whisker-stimulation trials ranked by locomotion (across the whole 25 s trial), (b) and (c) show mean fractional changes from baseline in HbO, HbR and HbT during a 2 s whisker stimulation (grey shaded bar) when locomotion was ranked across the whole trial (between − 5 and 20 s). ‘Greatest locomotion’ (left) represents the top 10% of these ranked trials, which correspond to trials with the most locomotion during the entire 25 s trial recording (− 5 to 20 s) (21 sessions from 4 animals; per session n = 6 top trials (an average of the top ranked trials was taken for each session)). ‘Least locomotion’ (right) represents the bottom 10% of ranked trials, which correspond to trials in which the least amount of locomotion occurred during the 25 s recording (21 sessions from 4 animals; per session n = 6 bottom trials (an average of the bottom ranked trials was taken for each session). Error bars represent mean ± SEM between the total 126 trials. (df) show mean sensory-evoked peak values for HbT, HbO and HbR respectively, for trials in which the most and least locomotion occurred when locomotion was ranked across the entire trial (25 s). Violin plots show individual mean values overlaid. Black horizontal lines indicate interquartile range and median. p values are from Sign tests for HbT and HbO and from Wilcoxon Signed Ranks test for HbR. (gi) show the mean return to baseline values (mean values taken between 15 and 20 s) for HbT, HbO and HbR respectively, for trials in which the most and least locomotion occurred when locomotion was ranked across the entire trial (25 s). p values from Sign tests for HbT and HbR and Wilcoxon Signed ranks test for HbO. Black horizontal lines on violin plots indicate interquartile range and median.

However, in trials where the greatest locomotion occurred (Fig. 2b) a slower return to baseline for HbT, HbO and HbR was observed (as compared to trials where the least locomotion occurred). We took mean values of HbT, HbO and HbR between 15 and 20 s to assess the return to baseline differences across the two behaviours. Sign tests with continuity correction revealed a statistically significant median increase in HbT (Median ± SEM: 0.024 ± 0.005) and a median decrease in HbR (Median ± SEM: − 0.021 ± 0.005) at the end of the 25 s stimulation period during trials with the greatest locomotion (Median ± SEM: HbT: 1.019 ± 0.005, HbR: 0.980 ± 0.004) compared to trials where the least locomotion occurred (Median ± SEM: HbT: 0.997 ± 0.002, z = − 3.055, p = 0.001, HbR: 0.999 ± 0.003, z = 3.491, p < 0.0001). A Wilcoxon signed ranks test revealed a statistically significant median increase in HbO (Median ± SEM: 0.032 ± 0.007) at the end of the 25 s stimulation period during trials with the greatest locomotion (Median ± SEM: 1.030 ± 0.006) compared to trials where the least locomotion occurred (Median ± SEM: 0.994 ± 0.003, z = − 3.702, p < 0.0001) (Fig. 2b,c,g–i).

The above results reveal that when locomotion is ranked across the entire trial, the evoked-haemodynamic responses are similar when comparing greatest and least locomotion trials. However, for the greatest locomotion trials the return to baseline is prolonged.

The timing of locomotion (relative to whisker stimulation) impacts the sensory-evoked haemodynamic response

As we have shown that locomotion across the whole trial can alter the return to baseline of the sensory-evoked haemodynamic response we wanted to investigate in more detail how the timing of locomotion (relative to whisker stimulation) impacted the sensory-evoked response.

To do this, trials taken during the 2 s whisker stimulation experiment were ranked by the amount of voluntary locomotion occurring across different 5 s time windows (pre-stim: − 5 to 0 s, mid-stim: 0–5 s, post-stim: 5–10 s, 10–15 s, 15–20 s; Fig. 3, Column 1). Evoked haemodynamic time series were created from the top and bottom 10% of ranked trials, these top and bottom 10% of ranked trials were averaged across sessions and corresponded to trials in which the most and least locomotion occurred (21 sessions; n = 6 top & n = 6 bottom per session (an average of the top and bottom ranked trials was taken for each session and used in the visualisation/analysis)) during the different 5 s time windows (Fig. 3). All mean peak values were taken between 0 and 5 s and are referred to as occurring during the whisker stimulation.

Figure 3
figure 3

Mean sensory-evoked haemodynamic responses for the whisker ROI (Fig. 5 column 1) during trials where the most and least locomotion occurred with locomotion ranked at different time windows throughout the 25 s trial. Whisker stimulation between 0 and 2 s (grey bar in centre and right columns). Column one: heat maps showing locomotion traces for the 59 whisker-stimulation trials, with locomotion ranked at different 5 s time windows during the 25 s trial (each ranked trial was averaged across 21 sessions/4 animals). The different 5 s windows during the 25 s trial where locomotion was ranked are: before (a: − 5 to 0 s), during (b: 0–5 s) and after whisker stimulation (c: 5–10 s, d: 10–15 s, e: 15–20 s). Trials were ranked according to locomotion in these 5 s periods and presented in descending order. Colour bar indicates amount of locomotion, red pixels indicate more and dark blue indicate less locomotion. Column two: mean fractional changes from baseline in stimulation-dependent HbT, HbO and HbR taken from the top 10% of ranked locomotion trials across the different 5 s time windows (21 sessions/4 animals; n = 6 top per session (mean of top trials taken for each session, mean of all sessions used in the visualisation/analysis). Column three: mean fractional changes in stimulation-dependent HbT, HbO and HbR for the bottom 10% of locomotion trials ranked across the 5 s time windows throughout the trial (21 sessions/4 animals; n = 6 bottom per session (mean of bottom trials taken for each session, mean of all sessions used in the visualisation/analysis). Black boxes indicate the 5 s time window locomotion was ranked. Data show mean across the total 126 trials ± SEM. (fh) show mean ± SEM between groups and individual mean peak values per session for HbT, HbO and HbR. Two-way repeated measures ANOVA’s were completed for HbT, HbO and HbR. Significant interactions were found and simple effects run (time and locomotion) for each haemodynamic measure. p values from pairwise comparisons (Bonferroni correction) are reported. Black solid brackets indicate comparison between most and least locomotion, dotted brackets reveal comparisons for most locomotion across different time windows and dashed brackets show comparisons for least locomotion across different time windows.

Three two-way repeated measures ANOVAs for HbT, HbO and HbR respectively, revealed that there was a significant interaction between the amount of locomotion (factors: most & least) and the time at which locomotion was ranked (factors: − 5 to 0 s, 0–5 s, 5–10 s, 10–15 s, 15–20 s) on the peak of the haemodynamic response to the 2 s whisker stimulation (peak occurring between 0–5 s):- HbT: F(2.58, 51.57) = 13.35, p < 0.0001, ε = 0.645; HbO: F(2.89, 57.88) = 13.32, p < 0.0001, ε = 0.723; HbR: F(2.53, 50.52) = 8.712, p < 0.0001, ε = 0.632), indicating that the effect of locomotion was dependent on the timing of locomotion.

To dissect how the timing of locomotion during the trial impacted the sensory-evoked haemodynamic response (HbT, HbO or HbR peak detected between 0 and 5 s), simple main effects were run to assess how ranked-locomotion during the five different time windows impacted the sensory-evoked haemodynamic response.

Most Locomotion trials:

Simple main effects revealed that for the trials in which the most locomotion occurred (Fig. 3, Column 2), the time at which locomotion was ranked had a significant effect on the mean peak of HbT (F(2.52, 50.41) = 12.99, p < 0.0001, ε = 0.630), HbO (F(2.66, 53.19) = 12.79, p =  < 0.0001 ε = 0.665), and HbR (F(2.69, 53.78) = 11.50, p < 0.0001, ε = 0.672) during the 2 s whisker stimulation. Pairwise comparisons with a Bonferroni correction revealed significant differences when locomotion occurred before (− 5 to 0 s) and during the stimulation (0–5 s), as discussed in detail below (Table 1).

Table 1 Comparisons between 5 s time windows for HbT, HbO and HbR peaks during whisker stimulation for most and least locomotion conditions.

There were notable differences in the mean peaks of HbT, HbO and HbR during the 2 s whisker stimulation (as assessed by pairwise comparisons with a Bonferroni correction). When locomotion was ranked before the stimulation (− 5 to 0 s), mean HbO peak during the 2 s stimulation was greater than when locomotion was ranked at 10–15 and 15–20 s and mean HbT peak during the 2 s stimulation was greater than when locomotion was ranked at 15–20 s (Fig. 3f,g). Additionally, when locomotion was ranked before the stimulation (− 5 to 0) mean HbR peak during the 2 s stimulation was less than when locomotion was ranked at all time windows after the stimulation (5–10 s, 10–15 s and 15–20 s) (Fig. 3h)—indicating a larger HbR washout occurs when locomotion is ranked before the whisker stimulation as compared to after the whisker stimulation (Table 1).

Additionally, when locomotion was ranked at the stimulation onset (0–5 s) mean HbT and HbO peak responses during the 2 s stimulation were greater than when locomotion was ranked at all time windows after the stimulation (Fig. 3f,g). For HbR when locomotion was ranked at stimulation onset (0–5 s) mean HbR peak during the 2 s whisker stimulation was less than when locomotion was ranked at all time windows after the stimulation (Fig. 3h)—indicating a larger HbR washout when locomotion was ranked at stimulation onset as compared to when it occurred after the whisker stimulation (Table 1).

Generally, the above results show that increased locomotion amplified the size of the haemodynamic response when it occurred before and during stimulation onset.

Least locomotion trials

Simple main effects revealed that for the trials in which the least locomotion occurred (Fig. 3, Column 3), the time at which locomotion was ranked also had a significant effect on the mean peak of HbT (F(2.94, 58.79) = 8.93, p < 0.0001, ε = 0.735), HbO (F(4, 80) = 9.94, p < 0.0001) & HbR (F(4, 80) = 6.83, p < 0.0001) during the 2 s whisker stimulation. Pairwise comparisons with a Bonferroni correction revealed that significant differences were observed when locomotion was ranked before the stimulation (− 5 to 0 s) and at the stimulation onset (0–5 s) vs the post-stimulation ranked locomotion conditions (5–10 s, 10–15 s, 15–20 s).

When locomotion was ranked before the stimulation (− 5 to 0 s), the mean HbT and HbO peak responses were greater than when locomotion was ranked at stimulation onset (0–5 s) (Fig. 3f,g). Additionally, mean HbR peak when locomotion was ranked before the stimulation (− 5 to 0 s) was less than when locomotion was ranked at stimulation onset (0–5 s) (Fig. 3h)—indicating a larger HbR washout when locomotion was ranked before the stimulation, as compared to when ranked during the stimulation (Table 1).

When locomotion was ranked at the stimulation onset (0–5 s) mean HbT and mean HbO peaks during the 2 s whisker stimulation were less than when locomotion was ranked at all time windows after the stimulation (Fig. 3f,g). Whereas mean HbR peak during whisker stimulation when locomotion was ranked at stimulation onset (0–5 s) was greater than when locomotion was ranked at all time windows after the stimulation (Fig. 3h)—indicating a smaller HbR washout when locomotion was ranked at stimulation onset compared to when ranked after the stimulation (Table 1).

The above results show that for trials in which the least locomotion occurred, when locomotion was ranked before the stimulation the haemodynamic response was larger than when ranked at stimulation onset. However, when the least locomotion occurred during stimulation onset the haemodynamic response was reduced in size compared to when locomotion was ranked after the stimulation.

The amount of locomotion impacts the sensory-evoked haemodynamic response only when locomotion is ranked at specific time windows

Having previously shown that there is a significant interaction between the amount of locomotion (factors: most & least) and the time at which locomotion was ranked (factors: − 5 to 0 s, 0–5 s, 5–10 s, 10–15 s, 15–20 s) on the peak of the haemodynamic response to the 2 s whisker stimulation (peak occurring between 0 and 5 s), as well as highlighting at which time windows ranked-locomotion impacted the sensory-evoked haemodynamic response, we now wanted to reveal how the amount of locomotion at these five time windows impacted the sensory-evoked response.

Simple main effects with a Bonferroni correction revealed that mean whisker stimulation-evoked HbT peak was greater for trials in which the most locomotion occurred as compared to trials in which the least locomotion occurred when locomotion was ranked at stimulation onset (0–5 s; F(1,20) = 19.68, p < 0.0001, mean ± SEM: 1.054 ± 0.007 vs 1.020 ± 0.002) (Fig. 3a,b, Columns 2 and 3). No significant differences were found when comparing the effect of locomotion on the mean whisker stimulation-evoked HbT peak when locomotion was ranked before the stimulation (− 5 to 0) and at 5–10 s, 10–15 s and 15–20 s. This indicates that the amount of locomotion only effects the HbT element of the evoked-haemodynamic response when locomotion occurs during the stimulation.

Simple main effects with a Bonferroni correction indicated that mean whisker stimulation-evoked HbO peak was also greater for trials in which the most locomotion occurred as compared to trials in which the least locomotion occurred when locomotion was ranked at stimulation onset (0–5 s; F(1,20) = 24.83, p < 0.0001, mean ± SEM: 1.083 ± 0.009 vs 1.033 ± 0.004) (Fig. 3a,b, Columns 2 and 3). No significant differences were found when comparing the effect of locomotion on the mean whisker stimulation-evoked HbO peak when locomotion was ranked before the stimulation (− 5 to 0) and when ranked at 5–10 s, 10–15 s and 15–20 s. Indicating that the amount of locomotion only effects the HbO element of the evoked-haemodynamic response when locomotion occurs during the stimulation.

Simple main effects with a Bonferroni correction revealed that mean whisker stimulation-evoked HbR peak was less for trials in which the most locomotion occurred as compared to trials in which the least locomotion occurred when locomotion was ranked at stimulation onset (0–5 s; F(1,20) = 38.75, p < 0.0001, mean ± SEM: 0.934 ± 0.006 vs 0.969 ± 0.004)—indicating a larger HbR washout when the animal moved more (Fig. 3a,b, Columns 2 and 3). No significant differences were found when comparing the effect of locomotion on the mean whisker stimulation-evoked HbR peak for trials in which locomotion was ranked before the stimulation (− 5 to 0) and when ranked at 5–10 s, 10–15 s and 15–20 s. This indicates that the amount of locomotion only effects the HbR element of the evoked-haemodynamic response when locomotion occurs during the stimulation.

The above results show that the amount of locomotion only affected the size of the haemodynamic response when locomotion was ranked at the stimulation onset—with a larger haemodynamic response observed when more locomotion occurred at stimulation onset.

Sensory- and locomotion-evoked haemodynamic responses sum in a linear manner

Overall, the results show that locomotion affects the evoked-haemodynamic response when locomotion occurs before or during stimulation onset. To assess whether this was a linear addition of locomotion-evoked haemodynamic responses on top of whisker stimulation-evoked responses, we performed identical analysis on the spontaneous data set (i.e. locomotion with no whisker stimulation, Supplementary Fig. 1) and subtracted these responses from the whisker stimulation data (Fig. 3). Figure 4 column 1 shows the differential locomotion heat map—which revealed that the majority of locomotion was removed when a linear subtraction was performed. Therefore, the expectation would be that the majority of the whisker stimulation differences would also be removed.

Figure 4
figure 4

Linear subtraction of spontaneous haemodynamic responses from mean sensory-evoked haemodynamic responses for the whisker ROI (Fig. 5 column 1) during trials where the most and least locomotion occurred with locomotion ranked at different time windows throughout the 25 s trial. Haemodynamic responses from spontaneous trials (no whisker stimulation) were subtracted from trials with a 2 s whisker stimulation. Whisker stimulation between 0 and 2 s (grey bar in centre and right columns) Column one: heat maps reveal differential locomotion traces for the 59 trials, with locomotion ranked at different 5 s time windows during the 25 s trial (each ranked trial was averaged across 21 sessions/4 animals). Locomotion was ranked: before (a: − 5 to 0 s), during (b: 0–5 s) and after whisker stimulation (c: 5–10 s, d: 10–15 s, e: 15–20 s). Colour bar indicates amount of locomotion, red pixels indicate more locomotion and dark blue indicate less locomotion. Column two: mean fractional changes from baseline in stimulation-dependent HbT, HbO and HbR taken from the top 10% of ranked locomotion trials across the different 5 s time windows (21 sessions/4 animals; n = 6 top per session (mean of top trials taken for each session, mean of all sessions used in the visualisation/analysis). Column three: mean fractional changes in stimulation-dependent HbT, HbO and HbR for the bottom 10% of locomotion trials ranked across the 5 s time windows throughout the trial (21 sessions/4 animals; n = 6 bottom per session (mean of bottom trials taken for each session, mean of all sessions used in the visualisation/analysis). Black boxes indicate the 5 s time window locomotion was ranked. Data show mean across the total 126 trials ± SEM. (fh) show mean ± SEM between groups and individual mean peak values per session for HbT, HbO and HbR. Two-way repeated measures ANOVA’s were completed for HbT, HbO and HbR. Significant interactions were found and simple effects run (time and locomotion) for each of the haemodynamic measures. p values from pairwise comparisons (Bonferroni correction) are reported. Black solid brackets: comparison between most and least locomotion, dotted brackets: comparisons for most locomotion across different time windows and dashed brackets: comparisons for least locomotion across different time windows.

Figure 5
figure 5

Representative HbT spatial maps during locomotion and spatial montage. Spatial maps from each animal included in the analysis (ad) showing the surface vasculature in the somatosensory cortex as recorded during locomotion alone (left centre, spontaneous recordings), and during trials with the most (right centre) and least (right) locomotion occurring during the 2 s whisker stimulation (from the 0 to 5 s time window, see Fig. 3b). Column one: in vivo images of the thinned cranial window with the automatically generated whisker region highlighted in red. Column two: spatial maps showing fractional changes in HbT generated from spontaneous trials (with no whisker stimulation) during 25 s bouts of continuous locomotion. Column three & four: HbT spatial maps of trials in which the most (right centre) and least (right) locomotion occurred during a 2 s whisker stimulation. This map reveals the spatial location of the whisker region (red pixels, which corresponds to the automatically generated whisker region in red ROI of Column 1), as well as revealing an area with a decrease in fractional change of HbT (blue pixels). Colour bar represents fractional change in HbT, with red indicating an increase in fractional change and blue indicating a decrease. Column five: HbT spatial maps of columns 3 and 4 added together, reveals haemodynamic response predominantly within whisker barrel cortex. Column six: HbT spatial maps of column 3 minus column 4 reveals a spatial response similar to that for spontaneous locomotion (column 2). (eg) HbT spatial montage revealing how HbT responses change over time from a representative animal. Each spatial image is the average of 2 s starting at the time indicated with whisker stim occurring at 0 s. (e) reveals the HbT spatial map evoked by spontaneous locomotion, with locomotion occurring from 0 s. (f) HbT spatial map over time when the most locomotion occurs during the whisker stimulation. (g) HbT spatial map in response to the least amount of locomotion during a whisker stimulation. Column 1, (b) ((in vivo image animal 2) also used in Sharp et al.20, see Fig. 4B).

Three two-way repeated measures ANOVAs were conducted on the mean peaks of HbT, HbO and HbR. Significant interactions were still observed between the amount of locomotion (factors: most & least) and the time at which locomotion was ranked (factors: − 5 to 0 s, 0–5 s, 5–10 s, 10–15 s, 15–20 s) on the peak of the haemodynamic response to the 2 s whisker stimulation (peak occurring between 0 and 5 s) for HbT: F(2.59, 51.98) = 5.29, p = 0.004, ε = 0.650; HbO: F(2.87, 57.56) = 5.24, p = 0.003, ε = 0.720 and HbR: F(4,80) = 3.12, p = 0.019).

However, many of the previous significant effects were removed. Simple main effects with a Bonferroni correction revealed that only 6 (of the previous 30) significant effects remained. For trials in which the most locomotion occurred, the time at which locomotion was ranked still had a significant effect on the mean peak of HbT (F(2.71, 54.34) = 3.915, p = 0.016, ε = 0.679) and HbO (F(2.83, 56.64) = 2.89, p = 0.046 ε = 0.708) during the 2 s whisker stimulation. When locomotion was ranked at stimulation onset mean HbT peak responses during the 2 s stimulation were still greater than when locomotion was ranked at 15–20 s (Fig. 4f, and Supplementary Table 21).

For trials in which the least locomotion occurred, the time at which locomotion was ranked still had a significant effect on the mean peak of HbT (F(2.37, 47.46) = 3.75, p = 0.024, ε = 0.593), HbO (F(4, 80) = 4.17, p = 0.004) & HbR (F(4, 80) = 4.92, p = 0.001) during the 2 s whisker stimulation. When locomotion was ranked at the stimulation onset (0–5 s) both mean HbT and HbO peaks during the 2 s whisker stimulation were less than when locomotion was ranked at 10–15 s (Fig. 4f,g). Mean HbR peak during whisker stimulation when locomotion was ranked at stimulation onset (0–5 s) was greater than when locomotion was ranked at 10–15 s (Fig. 4h). Finally, simple main effects with a Bonferroni correction revealed that when locomotion was ranked at stimulation onset (0–5 s), mean whisker stimulation evoked responses for HbT (F(1,20) = 10.04, p = 0.005, mean ± SEM: 1.046 ± 0.007 vs 1.026 ± 0.003) and HbO (F(1,20) = 6.79, p = 0.017, mean ± SEM: 1.070 ± 0.009 vs 1.046 ± 0.004) were still greater for trials in which the most locomotion occurred as compared to the least (Fig. 4f,g).

Interestingly, the linear subtraction resulted in one additional significant effect: when locomotion was ranked at 10–15 s, mean whisker stimulation evoked responses for HbR (F(1,20) = 6.06, p = 0.023, mean ± SEM: 0.950 ± 0.006 vs 0.934 ± 0.006) were greater for trials in which the most locomotion occurred as compared to the least—this was not observed in the whisker stimulation analysis (Fig. 4h).

Locomotion impacts the spatial spread of HbT across the surface vasculature

Representative spatial maps from each animal show HbT activation—revealing fractional change in HbT within the surface vasculature, during locomotion occurring with and without a 2 s whisker stimulation (activation between 0 and 5 s with whisker stimulation and 5–10 s without whisker stimulation) (Fig. 5). Red pixels indicate increased activation and blue pixels decreased activation. Figure 5 (Column 2) was generated from spontaneous trials (with no stimulation). Column 2 shows that during locomotion, a more global activation can be observed which is not restricted to the whisker region alone (red ROIs, Column 1) as per when a whisker-stimulation occurs concurrently with limited locomotion (see Column 4, ‘least’ locomotion). Figure 5 (Columns 3 & 4) shows representative spatial maps for each animal for the trials in which the most and least locomotion occurred during the 2 s whisker stimulation. Increased activation can be observed within the whisker region (red outline, Fig. 5, Column 1) for trials in which the most locomotion occurred during the 2 s whisker stimulation (Fig. 5, Column 3). Increased activation within the whisker region can also be observed in trials where animals moved the least during a whisker stimulation. However, a decrease in activation (blue pixels in a region adjacent to the whisker region within red outline) can also be seen, which suggests a reduction in HbT within a region anterior to the whisker area (Fig. 5, Column 4).

To further illustrate this, we added the spatial maps of haemodynamic responses for the most and least locomotion (during the 2 s whisker stimulation) together (Fig. 5, columns 3 and 4, respectively). This summation essentially removed the locomotion effect in the spatial image (Fig. 5, column 5), revealing responses which are mostly restricted to the whisker sensory region. We also subtracted the spatial maps for least locomotion (during the 2 s whisker stim) from those with most locomotion to provide a map of locomotion-evoked haemodynamic response (under the assumption that whisker-evoked responses are the same size). The resulting map (Fig. 5, column 6) is similar to that seen in the case of locomotion alone (Fig. 5, column 2). These spatial data support the time series results showing that, in general, locomotion and whisker stimulation are adding in a linear manner to produce the haemodynamic response measured.

The dynamic changes in responses over time can be seen in a montage of images from one animal for locomotion and whisker stimulation with most and least locomotion (Fig. 5e–g). Whisker stimulation or spontaneous locomotion occurred at 0 s and the corresponding change in HbT can be observed over 14 s. In response to the onset of the whisker stimulation a large increase in activation can be observed within the whisker region (Fig. 5f,g), with a slightly larger spatial spread of increased activation observed for spontaneous locomotion (Fig. 5e). Interestingly, for the montage of the least locomotion during the 2 s whisker stimulation, 2 s prior to whisker stimulation a decrease in activation can be observed, with this decrease in activation dominating from 4 to 14 s post stimulation (Fig. 5g).

Discussion

The present study measured spontaneous (Fig. 5) and sensory-evoked (Figs. 2, 3, 4, 5) haemodynamic responses from the cerebral cortex in head-fixed, awake mice, whilst locomotion was concurrently monitored. The novel aspect of our approach was to investigate the impact of the amount and timing of locomotion events on sensory-evoked haemodynamic responses. Our experiments revealed that sensory-evoked haemodynamic responses are altered by the presence of locomotion, which was dependent on the timing (relative to whisker stimulation) that the locomotion occurred. Our findings suggest there is a relationship between the time at which locomotion occurs (in 5 s time windows relative to the whisker stimulation) and the amount of summed locomotion, and that this affects the evoked haemodynamic response, with locomotion appearing to have the largest effects when it occurred before the stimulation (− 5 to 0 s) and during (0–5 s) the stimulation. During the analysis conducted on the 2 s whisker stimulation trials there were 30 significant events when investigating how the amount and timing of locomotion impacted the sensory evoked haemodynamic response—with locomotion having the greatest effect when it occurred before or during whisker stimulation. However, when we subtracted the spontaneous trials from the 2 s whisker stimulation trials, the number of significant events was reduced to only 7—with only 6 of the previous 30 significant effects remaining. This suggests it would be advantageous to collect parallel datasets with no sensory stimulation during experimental data collection to allow locomotion induced differences to be removed.

Previous studies have shown that certain behaviours, including body movements and whisking can enhance CBV in awake, head-fixed mice28. It has also been reported that locomotion, in the absence of sensory stimulation, increases cortical CBV23, and rapidly dilates arteries25. However, the above studies did not explore how locomotion may specifically affect sensory-evoked haemodynamic responses, making our findings novel.

Of the few papers that have investigated the impact of locomotion on evoked haemodynamic responses, Tran et al.24 explored whether the behaviour of an animal during whisker stimulation had an effect on penetrating arteriole dilation. They showed that the behaviour of the animal did not alter the peak amplitude of arteriole dilation. In comparison, our data suggests that the animal’s behaviour does impact the peak amplitude of arteriole dilation. Our opposing findings could be explained by the different methods used in the two studies. Tran et al. used two-photon microscopy to investigate haemodynamic responses, focusing on penetrating vessel dilation. In contrast, our study used 2D-OIS to measure changes in blood oxygenation from the surface of the cerebral cortex. It is conceivable that locomotion and the time at which locomotion occurs relative to whisker stimulation may have a differing impact on evoked haemodynamic responses depending on the type and location of blood vessels investigated. In support of this explanation, Gao et al.27 found that locomotion impacted surface vessels to a greater extent than penetrating vessels, with locomotion leading to surface vessel dilations that were almost three times the size of intracortical vessel dilation. However, the study did not investigate how locomotion affected sensory-evoked haemodynamic responses. Future studies using two-photon microscopy are still warranted29 to explore how sensory-evoked haemodynamic responses are impacted by locomotion, as well as to assess if our results can be replicated using other methods.

Our study was not without limitations, the behavioural set up only monitored locomotion behaviours and did not monitor whisking behaviours or pupil dilations in the animals. It has been reported that whisking occurs when an animal moves30. Therefore, there may also be a relationship between locomotion, whisking and sensory-evoked haemodynamic responses. It is likely that the animal also whisked during locomotion and this is reflected in the large spatial area revealed by spontaneous locomotion. Simultaneous monitoring of whiskers and locomotion would be required to confirm this. Future studies may therefore benefit from monitoring both locomotion and whisking24 to assess if there are interactions between these behaviours and the impact this may have on the evoked haemodynamic response—as voluntary whisking has been reported to increase CBV28. However, the purpose of our paper was to focus on the effects of locomotion on sensory-evoked haemodynamic responses.

Additionally, neural activity was not measured during the study, it would have been informative to observe how neural activity was affected by the amount and timing of locomotion. Other studies have recorded neural activity alongside CBV during voluntary locomotion and found that voluntary locomotion does indeed increase neural activity23,31. Measuring simultaneous haemodynamics in awake animals combined with genetically encoded calcium indicators (such as GCAMP6)7 to measure spontaneous and evoked neuronal activity will provide additional information on how brain activity is modulated by the interaction of locomotion and sensory stimulation.

Our paper demonstrates the importance of monitoring behaviour—especially locomotion—during awake haemodynamic imaging. As our study shows that the amount and timing of locomotion (relative to whisker stimulation) can impact the amplitude of an evoked haemodynamic response we suggest that, where possible, groups should monitor locomotion in their awake imaging experiments—particularly when using sensory stimulation. If locomotion behaviours cannot be monitored, other methods could be used to limit locomotion behaviours, such as training animals to remain stationary32. Monitoring locomotion is especially important to consider when comparing different disease groups, in which locomotion may differ33—if locomotion behaviour is not monitored (or excluded), misleading conclusions could potentially be made.

Methods

Animals

Adult (3–12 m; 24–40 g) female C57/BL6J mice (n = 4) were used in the experiment. Food and water were available ad-libitum and mice were housed on a 12 h dark/light cycle. All animal procedures were approved by the UK Home Office and in agreement with the guidelines and scientific regulations of the Animals (Scientific Procedures) Act 1986 with additional approval received from the University of Sheffield licensing committee and ethical review board. The following study is reported in accordance with the ARRIVE guidelines.

Surgery

Induction of anaesthesia was achieved with a combination of fentanyl-fluanisone (Hypnorm, Vetapharm Ltd), midazolam (Hypnovel, Roche Ltd) and sterile water in the ratio 1:1:2 (1 ml/kg i.p). Surgical anaesthetic plane was maintained using isoflurane (0.25–0.8%) in 100% oxygen. Body temperature was monitored and maintained throughout surgery via a rectal thermometer and a homeothermic blanket respectively (Harvard Apparatus). Eyes were protected using Viscotears (Novartis). A scalpel was used to shave the head prior to the mouse being positioned in a stereotaxic frame (Kopf Instruments). Iodine was applied to the scalp and the scalp was removed. Using a dental drill, the bone covering the right somatosensory cortex was thinned to translucency to create the thinned optical window (~ 3 mm2). Cyanoacrylate glue was thinly applied across the window to strengthen the window and reduce optical specularities. Dental cement (Superbond C & B; Sun Medical) was applied to the bone on the contralateral side of the cranial window and a well was built up around the window to allow for a metal head plate to be attached for chronic imaging. Following surgery, mice were housed individually and given at least one week to recover before any imaging commenced.

Awake imaging

Prior to imaging, mice were gradually habituated to the experimenter, imaging room, spherical treadmill and head-fixation. To achieve this, training sessions were completed with a reward at the end of each session (toffee popcorn, Sunkist). The first session lasted approximately 10 min. The experimenter handled the mice and allowed the mice to explore the spherical treadmill without head fixation. The second session was a repeat of the first session. Session three involved head-fixing the mice for approximately 10 min whilst the lights were on. This was followed by ~ 20 min with the lights off. Session three was repeated daily until mice learned how to move on the spherical treadmill and displayed grooming behaviours (approximately 2–3 sessions). The whisker stimulator was introduced during the final two training sessions.

Whisker stimulation

Whiskers were mechanically stimulated using a plastic T-bar at 5 Hz. Each experiment lasted 1475 s and comprised of 59 25 s trials. During whisker stimulation trials whisker deflection lasted 2 s, occurring every 25 s. Spontaneous experiments were also conducted using the same timings as 2 s whisker stimulation experiments, however the motor controlling the whisker stimulator was switched off, ensuring whiskers were not stimulated.

Locomotion data collection and analysis

Locomotion data was collected from a spherical treadmill with an optical motion sensor attached, to quantify locomotion. Locomotion data was analysed using in-house created scripts in MATLAB (MathWorks). The optical motion sensor recorded the movement of the treadmill and produced a file comprised of: locomotion data (a vector which showed the rotation of the treadmill, integers were used to quantify the displacement of the treadmill, with stationary periods reflected by 0, the quicker the spherical treadmill moved, the higher the integer; plotted as distance (arbitrary unit, AU)); the time vector (which allowed locomotion to be measured across time (s)); and the trigger points (these indicated the timing of the whisker stimulation, across trials, this enabled locomotion data to be matched with the timing of the haemodynamic data). To establish if locomotion did impact evoked-haemodynamic responses, 2 s whisker stimulation trials were ranked by voluntary locomotion across the entire trial (25 s) and across different 5 s time windows within the stimulation period (− 5 to 0 s, 0–5 s, 5–10 s, 10–15 s, 15–20 s). For each session, evoked haemodynamic time series were created from the top and bottom 10% of ranked trials, these top and bottom 10% of ranked trials were averaged together across sessions and corresponded to trials in which the most and least locomotion occurred (21 sessions from 4 animals, n = 6 top & n = 6 bottom trials per session (an average of the top and bottom ranked trials was taken for each session and used in the visualisation/analysis)). In Fig. 5 (Column 2), HbT spatial maps for spontaneous locomotion were created as followed. Locomotion events from spontaneous trials were selected and a spectroscopy file was created to assess how locomotion alone impacts the spatial spread of HbT within the surface vasculature.

2D-Optical Imaging Spectroscopy (2D-OIS)

2D-OIS uses light to measure cortical haemodynamic signals by estimating concentration changes in oxygenated haemoglobin (HbO), deoxygenated haemoglobin (HbR) and total haemoglobin (HbT). In order to measure changes in cortical haemodynamics a Lambda DG-4 high-speed galvanometer (Sutter Instrument Company, USA) was used to illuminate the right somatosensory cortex with 4 wavelengths of light (494 ± 20 nm, 560 ± 5 nm, 575 ± 14 nm and 595 ± 5 nm). A Dalsa 1M60 CCD camera was used to capture remitted light at 184 × 184 pixels, at a 32 Hz frame rate, this provided a resolution of ~ 75 µm.

To produce 2D images of micromolar changes in HbO, HbR and HbT, spectral analysis (based on the path length scale algorithm (PLSA)) was conducted34,35. This algorithm uses a modified Beer Lambert Law, with a path-length correction factor and predicted absorption values of HbO, HbR and HbT. The relative concentration estimates of HbO, HbR and HbT were gathered from baseline values, whereby haemoglobin tissue concentration was estimated as 100 µM, with tissue saturation of oxygen estimated at 80%.

Regions of Interest (ROI) overlying the whisker barrels from 2D spatial maps

MATLAB (MathWorks) was used to select ROI for time series analysis. Custom-made in-house scripts were used to select ROIs from the 2D spatial maps produced using 2D-OIS. The whisker ROI was selected using the HbT spatial map taken from the 2 s whisker stimulation experiments; this was completed for each of the 21 sessions. Pixels were included in the ‘active’ region if they were > 1.5 × STD across the entire spatial map, hence the whisker ROI (red ROI, Fig. 5, Column 1) was the area of cortex with the greatest haemodynamic response for HbT. The following time series analyses included in the study (Figs. 2, 3 and 4) were conducted for the whisker region.

Statistical analysis

Statistical tests were conducted in SPSS (v26) and figures were created in MATLAB and RStudio. P values of < 0.05 were deemed to be significant. Outliers were assessed using box plots, with values greater than 1.5 box lengths from the edge of the box classified as outliers—outliers were kept in the data set. Normality was assessed using the Shapiro Wilk test. If outliers were observed and/or data was non-normal, non-parametric tests were used (if available).

For distance travelled calculations, the total distance (AU) from each session for experiments with and without whisker stimulation were used—with the total sum of distance travelled taken for each experiment during each of the 21 sessions. A sign test was used to assess if there was a statistically significant difference in distance travelled during experiments.

Non-parametric Sign tests (HbT and HbO) and the Wilcoxon signed ranks test (HbR) were used to assess if there were significant differences in HbO, HbR and HbT peaks during the 2 s whisker stimulation when comparing trials with the greatest and least amount of locomotion (when locomotion was ranked across the entire 25 s). The peak amplitude of HbT, HbO and HbR were computed as the time point with the greatest change in the concentration of haemoglobin from baseline20 between 0 and 5 s during the ranked trials where the most and least locomotion occurred.

Sign tests (HbT and HbR) and the Wilcoxon signed ranks test (HbO) were used to establish if there were significant differences in the return to baseline of HbT, HbO and HbR, when comparing trials in which the most and least locomotion occurred during a 2 s whisker stimulation—mean HbT, HbO and HbR values were taken at the end of the 25 s stimulation period (mean values between 15 and 20 s).

Six, two-way repeated measures ANOVAs were completed to assess if there was an effect of the amount (factors: most & least) and timing (factors: − 5 to 0 s, 0–5 s, 5–10 s, 10–15 s, 15–20 s) of locomotion on the peak of the haemodynamic response (dependent variables: HbT, HbO, HbR) to the 2 s whisker stimulation (peak occurring between 0–5 s). The presence of outliers was assessed using studentised residuals, where values greater than ± 3 were deemed to be outliers. Outliers were observed and were kept in the data set. Normality was assessed by the Shapiro Wilk test, and sphericity was assessed using the Mauchly’s test of sphericity. For the two-way ANOVAs, a number of variables were not normally distributed (see Supplementary Statistics Table S9). If Mauchly’s sphericity was violated (p < 0.05) Greenhouse Geiser correction was used. The use of the Greenhouse Geiser correction can be observed if there is an epsilon (ε) value when reporting ANOVA results. As there is no non-parametric alternative for a two-way ANOVA if variables were not normally distributed and outliers were present, a two-way ANOVA was still completed, as ANOVAs are robust to slight deviations from normality. Data were not transformed as transforming the data results in difficulties comparing the means across different groups36. If an interaction effect was found, to assess the simple main effects, one-way ANOVAs were completed and pairwise comparisons with a Bonferroni correction were completed. Data are reported as means ± standard error of the mean (SEM), unless otherwise stated. Individual dots on violin plots and bar charts represent individual mean data points. Data was visualised as a bar plot when statistical tests compared the mean, whereas violin plots were used when statistical tests compared the median. Detailed statistical outputs can be found in the “Supplementary tables”.