replay_trajectory_classification.likelihoods.calcium_likelihood#
Calculate a Gamma likelihood for calcium imaging activity traces.
References
[1] Farhoodi, S., Plitt, M.H., Giocomo, L., and Eden, U.T. (2020). Estimating Fluctuations in Neural Representations of Uncertain Environments. 20. .
Functions
Combines the likelihoods of all the cells. |
|
Find the likelihood given a fitted place field model. |
|
Gives the conditional intensity of the neurons' spiking with respect to position. |
|
Probability of parameters given spiking at a particular time. |
|
Predicts the calcium activity trace given fitted model coefficents. |
|
Creates a design matrix for regression with a position spline basis. |
|
Make a design matrix for position bins |