-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check/fix physical units of input spike train #727
Comments
See also #368. The discussion there seems to have focused on whether kernels (called shapes at the time) or the spike input ports should have a unit type. My proposal (and if I understand it right also @tfardet's in that thread) is for neither to have a unit type. The input port with the unit now looks like:
So an input port without the unit, for example:
would be interpreted as a train of delta pulses: old:
new: 1
new: 2
|
I support spikes having no units |
After the discussion with Abigail and others at the lab meeting, we decided to remove units from the spiking input ports. So the resulting definition of a spiking port would be:
and to use
To avoid memory usage for the variable
|
The unit$[\delta(x)]$ of the Dirac delta "function" $\delta(x)$ follows
from its definition:
Here, f(.) is some arbitrary continuous function. As the f(.) on the lhs
has the same unit as the f(.) on the rhs, the unit of
must be equal to 1. Hence, the unit$[\delta(x)]$ of the delta function$1/[x]$ of the unit $[x]$ of its argument
must be identical to the inverse
x, i.e.
This is a very generic property of the delta function. For the special$\delta(x)$ must
case where x is a measure of time with unit s,
consequently have units 1/s.
In the neuroscience context, we often use
to represent sequences of spikes at times t_k (spike train), because
then we can easily construct other signals that are derived from spikes
by a convolution integral
such as the number of spikes in a certain time interval, the synaptic$h(t)$ on the$g(t)$ , the delta function needs to have units of
input current, the membrane potential, etc. If the kernel
rhs has the same unit as
1/s. Same reasoning as above.
Reference: https://en.wikipedia.org/wiki/Dirac_delta_function
With credits to @tomtetzlaff for pointing this out!
The text was updated successfully, but these errors were encountered: