The generation/estimation/validation of spike sequences with point process. All codes were written in Julia. These codes were used in a workshop on the point process of Student Association for Brain Science's training camp. We made them by referring to Dr. Shimazaki's implementation in Matlab. Detailed explanation is summarized in ganow's blog (written in Japanese only).
This repository uses the following dependencies:
- Julia v0.5.0
- Plots + PlotlyJS or PyPlot
After installing Julia, run the install script:
All implementation of functions are stored in
Example scripts to execute these functions can be found in
These example scripts use sample dataset stored in
data/, and the dataset can be generated by
images/ stores the results of the example scripts.
The original Matlab codes written by Dr. Shimazaki is in
julia/pprocess_inhomopoisson.jl: spike generation with inhomogeneous Poisson process.
julia/pprocess_gamma.jl: spike generation with renewal gamma process.
julia/intensity_inhomopoisson.jl: estimation of the time-varying firing rate by Gaussian kernel regression.
julia/sskernel.jl: estimation of the time-varying firing rate by Gaussian kernel regression with bandwidth optimization.
julia/fitgamma.jl: maximum likelihood estimation of the parameters in gamma process.
julia/intensity_gamma.jl: maximum likelihood estimation of the time-varying firing rate of gamma process.
julia/QQplot.jl: validation of estimated firing rate by Quantile-Quantile plot.
- Masanori Kawabata: mainly responsible for the generation part.
- Yoshihiro Nagano: mainly responsible for the estimation part.
- Akihiko Akao: mainly responsible for the validation part.