Create synthetic calcium tracesΒΆ

This is an example of how to create synthetic calcium traces

from neuroglia.datasets import make_calcium_traces

calcium = make_calcium_traces(duration=10.0,oscillation=False)
calcium['traces'].plot()
../_images/sphx_glr_plot_synthetic_calcium_001.png

The synthetic spikes that underly the synthetic calcium traces are also available

calcium['spikes'].plot()
../_images/sphx_glr_plot_synthetic_calcium_002.png

We can also generate synthetic calcium traces where a gamma oscillation provides an input to the population

calcium = make_calcium_traces(duration=10.0,oscillation=True)
calcium['traces'].plot()
../_images/sphx_glr_plot_synthetic_calcium_003.png

Gallery generated by Sphinx-Gallery