-
Notifications
You must be signed in to change notification settings - Fork 97
Review request: Detorakis #35
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
Conversation
@gdetor Thanks for your submission. Do you have a link on the original PDF? @otizonaizit Can you handle the submission? (I know you're busy, no problem if you can't) |
@rougier Here is the link: http://www.mitpressjournals.org/doi/pdf/10.1162/neco.2008.12-07-680 |
@gdetor Would you have a free preprint instead ? |
@rougier I would volunteer to review. |
Jep, I can do it…
…On Wed 02 Aug, 13:06, "Nicolas P. Rougier" ***@***.***> wrote:
@gdetor Thanks for your submission. Do you have a link on the original PDF?
@otizonaizit Can you handle the submission? (I know you're busy, no problem if you can't)
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#35 (comment)
|
@heplesser : thank you! I assigned you as reviewer. |
@pdebuyl : can you review this? |
I can do this next week. |
@gdetor @otizonaizit I find you replication successful and your manuscript well written. I would like to request a few minor improvements to text and code before approving:
|
@pdebuyl : thank you for accepting to review! Next week is perfectly fine, take your time… |
@heplesser : thank you for the thorough review! |
Dear @gdetor, @otizonaizit, The reproduction by @gdetor is well executed and runs as expected on my computer. The code I have a list of comments that I believe should be addressed before accepting the article:
|
Dear @otizonaizit @heplesser @pdebuyl , Thank you, |
Dear @gdetor, Thank you for the update. You modified the article license to BSD, it really should be CC-BY :-)
will give you the original one that is totally fine. BSD is of course fine for the code The problem of the
All my other concerns were addressed suitably. |
Dear @pdebuyl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gdetor Thank you for your changes. I just have a few minor language- and code-related issues left, see my inline comments.
article/detorakis-2017.tex
Outdated
potential (spike) in a dynamic way. The ability of the MNN model to generate | ||
subthreshold dynamics are defined by a set of linear ordinary differential | ||
equations, while an instantaneous threshold potential controls when the neuron | ||
firing an action potential (spike) in a dynamic way. The ability of the MNN |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this read "controls when the neuron fires" instead of "firing"?
article/detorakis-2017.tex
Outdated
varies according to figure 1 of the original paper. We provide all equations | ||
and parameters of the model in tables as it has been suggested | ||
by~\cite{nordlie:2009}. | ||
the dynamical system using the forward Euler's integration scheme. The time step |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should either be "using Euler's forward integration scheme" or "using the forward Euler integration scheme".
article/detorakis-2017.tex
Outdated
@@ -522,15 +534,27 @@ \section{Results}\label{results} | |||
All the different spiking behaviors of the model are illustrated in | |||
Figure~\ref{fig:1}, where the black solid line indicates the membrane potential | |||
($V(t)$), the red dashed line illustrates the instantaneous threshold potentials | |||
($\Theta(t)$), and the gray line shows the input to the neuron ($I_e/C$). | |||
($\Theta(t)$), and the gray line shows the input to the neuron ($I_e/C$). | |||
The $x$-axis scale in all the panels are exactly the same as in the original |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"The
article/detorakis-2017.tex
Outdated
The $x$-axis scale in all the panels are exactly the same as in the original | ||
paper (indicating the total simulation time ($t_f$), while the $y$-axis scale | ||
differs from the one in the original paper. In this work the $y$-axis scale | ||
is the same same for all the subplots ($[-95, -25]\, \Rm{mV}$), except from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"except for"
code/neuron_model.py
Outdated
'ThetaInf': -50.0} # Reverse threshold | ||
|
||
|
||
# @profile | ||
def mnn_model(pms=params, time=10, dt=1.0, IC=(0.01, 0.001, -70.0, -50.0)): | ||
def mnn_model(pms=params, Iext=np.zeros((200,)), dt=1.0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mutables should not be used as default argument values (e.g. http://docs.python-guide.org/en/latest/writing/gotchas/). It is safer to use None
:
def mnn_model(pms=params, Iext=None, ...):
if Iext is None:
Iext = np.zeros((200,))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is weird. In my last code update, the issue with the mutable has been fixed.
code/neuron_model.py
Outdated
""" | ||
sim_time = int(time / dt) # Total simulation time | ||
sim_time = Iext.shape[0] # Simulation time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't really the simulation time, it is the number of steps. Simulation time is obtained by multiplying with dt
. So sim_steps
would be a better name.
@heplesser Thank you for your corrections and comments. All the issues have beed addressed. |
@gdetor Thank you for your updates! After your last commit f6f3165, lines 70ff of def mnn_model(pms=None, Iext=np.zeros((200,)), dt=1.0,
IC=(0.01, 0.001, -70.0, -50.0)): so the mutable |
@heplesser Thank you for noticing that. I updated the code accordingly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gdetor Thank you for your corrections!
@otizonaizit I approve the manuscript and code for publication in ReScience.
@gdetor Congratulations, I hereby accept the submission for publication! |
Before publishing, I'd just like to request that the edits are made in the markdown file and not the latex file. If ReScience decides at some point to publish html versions of the articles this will be mandatory. |
@otizonaizit I fixed the markdown file accordingly. Let me know if you need anything more. |
@otizonaizit Do you need some help for the publication (I know you're busy right now)? |
Thursday afternoon or Friday afternoon I'll give it a go!
…On Wed 30 Aug, 09:10, "Nicolas P. Rougier" ***@***.***> wrote:
@otizonaizit Do you need some help for the publication (I know you're busy right now)?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#35 (comment)
|
@gdetor : we have problems compiling your file, the tex file is corrupted, some headers are wrong, the bibliography is included in the md file, etc... can you try fixing the issues and testing that you can generate a tex file with pandoc from the md file and then compile the tex to pdf? |
The article will be soon listed on http://rescience.github.io/read/ |
AUTHOR
Dear @ReScience/editors,
I request a review for the following replication:
Original article
Title: A Generalized Linear Integrate-and-Fire Neural Model Produces Diverse Spiking Behaviors
Author(s): Stefan Mihalas and Ernst Niebur
Journal (or Conference): Neural Computation
Year: 2009
DOI: 10.1162/neco.2008.12-07-680
PDF: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2954058/
(or https://capocaccia.ethz.ch/capo/raw-attachment/wiki/2010/spinn10/Mihalas%20Niebur%20NECO.pdf)
Replication
Author(s): Georgios Detorakis
Repository: https://github.com/gdetor/ReScience-submission/tree/detorakis-2017
PDF: https://github.com/gdetor/ReScience-submission/blob/detorakis-2017/article/detorakis-2017.pdf
Keywords: linear leaky integrate-and-fire neuron, diverse spiking behavior, differential equations
Language: Python
Domain: Computational Neuroscience
Results
Potential reviewers
EDITOR
3 August 2017
3 August 2017
3 August 2017
18 August 2017
14 August 2017
18 August 2017