Skip to content

Commit

Permalink
reverted to save to static
Browse files Browse the repository at this point in the history
  • Loading branch information
BalzaniEdoardo committed Nov 21, 2024
1 parent bf83f94 commit 627db1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/plot_06_calcium_imaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ basis = heading_basis + coupling_basis
## Gamma GLM

Until now, we have been modeling spike trains, and have used a Poisson distribution for the observation model. With calcium traces, things are quite different: we no longer have counts but continuous signals, so the Poisson assumption is no longer appropriate. A Gaussian model is also not ideal since the calcium traces are non-negative. To satisfy these constraints, we will use a Gamma distribution from NeMoS with a soft-plus non linearity.
:::{admonirion} Non-linearity
:::{admonition} Non-linearity
:class: note

Different option are possible. With a soft-plus we are assuming an "additive" effect of the predictors, while an exponential non-linearity assumes multiplicative effects. Deciding which firing rate model works best is an empirical question. You can fit different configurations to see which one capture best the neural activity.
Expand Down

0 comments on commit 627db1d

Please sign in to comment.