Generalized linear models with spatial dependence and a functional covariate | Synapse