Spatial correlation across trials was calculated according to the procedure for calculating inter-trial stability in ref. 39. To calculate the reliability of spatial firing between entire or partial trial against a reference, we calculated the Pearson product moment correlation coefficient of the rate map from the trial against the rate map of the reference using the corrcoef function from the NumPy Python package.
Spatial stability was calculated as within-trial spatial correlation according to the procedure for calculating intra-trial stability in ref. 39. To calculate the reliability of spatial firing within a trial, we calculated the Pearson product moment correlation (see inter-trial stability above) of the first 10 min of the trial against the last 10 min of the trial.
Do you have any questions about this protocol?
Post your question to gather feedback from the community. We will also invite the authors of this article to respond.