Detection of spatiotemporal changepoints: a generalised additive model approach | Synapse