-
Notifications
You must be signed in to change notification settings - Fork 38
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
fix impedance #402
fix impedance #402
Conversation
…mpedance Conflicts: CHANGELOG.rst
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #402 +/- ##
==========================================
+ Coverage 91.73% 92.24% +0.51%
==========================================
Files 36 39 +3
Lines 6278 7389 +1111
Branches 2033 2293 +260
==========================================
+ Hits 5759 6816 +1057
- Misses 266 289 +23
- Partials 253 284 +31 ☔ View full report in Codecov by Sentry. |
CHANGELOG.rst
Outdated
5.7.1 - 2024-07 | ||
--------------- | ||
|
||
- When stimulus starts at 0 for impedance (which can happen often), use test_steady_state_voltage_stimend to get holding voltage, and equivalent for holding current. |
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 you meant steady_state_voltage_stimend
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.
done in latest commit
efel/cppcore/Subthreshold.cpp
Outdated
size_t start_index = distance(times.begin(), start_it); | ||
size_t stop_index = distance(times.begin(), stop_it); | ||
|
||
double mean = accumulate(currents.begin() + start_index, |
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.
you can even compute the mean inside the if block
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.
done in latest commit
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.
Formidable! Thank you
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.
Looks good!
Description
Checklist: