Skip to content
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

Merged
merged 8 commits into from
Nov 1, 2022

Conversation

thorstenhater
Copy link
Contributor

@thorstenhater thorstenhater commented Oct 27, 2022

  • Add probes for LIF cell potential
    • LIF probes are always exact
    • probing never changes cell state
  • Expose to Python
  • Add docs
    • move sampling and probing to concepts, from cable cells
    • add LIF probe API
  • Add tests for C++ and Python
  • Removes some incorrect claims from the LIF cell docs

Closes #1263 (note that the ISI can be obtained otherwise and we can also add it later)

Copy link
Contributor

@boeschf boeschf left a 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].
Copy link
Contributor

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?

Copy link
Contributor Author

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
@thorstenhater thorstenhater merged commit 3106ff7 into arbor-sim:master Nov 1, 2022
@thorstenhater thorstenhater deleted the feat/lif-probes branch November 1, 2022 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Probes for LIF cells.
2 participants