replay_trajectory_classification.likelihoods.spiking_likelihood_kde#

Estimates a Poisson likelihood using place fields estimated with a kernel density estimate.

Functions

combined_likelihood

estimate_place_fields_kde

Gives the conditional intensity of the neurons' spiking with respect to position.

estimate_position_density

Estimates a kernel density estimate over position bins using Euclidean distances.

estimate_position_distance

Estimates the Euclidean distance between positions and position bins.

estimate_spiking_likelihood_kde

gaussian_pdf

Compute the value of a Gaussian probability density function at x with given mean and sigma.

get_diffusion_firing_rate

get_firing_rate

poisson_log_likelihood

Probability of parameters given spiking at a particular time.