This repository contains code used in Tseng et al. 2022 for fitting generalized linear models (GLM) in Tensorflow 1.
For an updated version of the code in Tensorflow 2 and tutorials for using it and fitting GLMs to real calcium imaging data, please visit the repository GLM_Tensorflow_2.
- numpy 1.16.2
- tensorflow 1.13.1
- scipy 1.5.2
- statesmodels 0.11.1
- matplotlib 3.0.3
Tseng, S.-Y., Chettih, S.N., Arlt, C., Barroso-Luque, R., and Harvey, C.D. (2022). Shared and specialized coding across posterior cortical areas for dynamic navigation decisions. Neuron 110, 2484–2502.e16. [link]