We consider a toy simulation model, inspired by neuroscience measurements, as follows.
Define the "mark space,"
-
Support condition:
$u(t) = 0$ for all$t$ outside the interval${-L, ..., L}$ . -
Centering condition: The sum
$\sum_{t=-L}^L t \cdot u(t)$ equals zero.
Let
- For each
$t$ in${0, 1, ..., T}$ , sample$U_t$ independently from$\pi$ . - For each
$t$ in${L, ..., T-L}$ , set$X_t$ to the sum over$\tau$ of$U_\tau(t-\tau)$ .
The process
The model is computationally tractable for moderate values of
This repository contains code for running simulations that test the identifiability of an unknown PMF
-
scripts/neuron_spike_simulation.pycreate a plot that demonstrates the "deblending" problem. -
scripts/emalg.pycontains an EM algorithm for fitting$\pi$ using knowledge of the law of$X$ . -
scripts/run_finite_data.pyruns the algorithm in cases with finite data -
scripts/plot_finite_data_sims.pyplots the results of the above -
scripts/run_infinite_data.pyruns the algorithm with infinite data, tracking the optimization progress -
scripts/plot_infinite_data_sims.pyplots the results of the above