Reproducing kernel Hilbert spaces for point processes, with applications to neural activity analysis