-
Notifications
You must be signed in to change notification settings - Fork 62
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
Make LIF cells probeable. #2021
Conversation
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.
Nice addition, thanks for updating the documentation accordingly. I've got only minor comments.
@@ -16,11 +16,17 @@ struct ARB_SYMBOL_VISIBLE lif_cell { | |||
double C_m = 20; // Membrane capacitance [pF]. | |||
double E_L = 0; // Resting potential [mV]. | |||
double V_m = E_L; // Initial value of the Membrane potential [mV]. | |||
double V_reset = E_L; // Reset potential [mV]. |
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.
why was this member there in the first place?
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.
That's a very good question. It was never used, but set in all the examples and mentioned in the docs...
I am contemplating on whether we should be adding it back in, but this time it should be actually doing
something ;)
I'll ask some of your LIF-savvy users.
- Better naming - Safety invariantscc
Closes #1263 (note that the ISI can be obtained otherwise and we can also add it later)