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

Added customisable percentages to AP_rise_time. #198

Merged
merged 1 commit into from
Feb 10, 2021

Conversation

AurelienJaquier
Copy link
Collaborator

Solves #194

Rise time window can now be changed by setting "rise_start_perc" and "rise_end_perc". Both values should be between 0.0 and 1.0. They are 0.0 and 1.0 by default.

E.g. if rise_start_perc is 0.1, and rise_end_perc is 0.9, it means that the rise time will be computed between the first time the voltage gets above (or equal) 10% of the AP amplitude, and the last time the voltage is below 90% of the AP amplitude.

@wvangeit
Copy link
Contributor

wvangeit commented Feb 9, 2021

Could you just add a test for this extra setting? Thx.

@codecov-io
Copy link

Codecov Report

Merging #198 (fc3cfe1) into master (83d27ff) will decrease coverage by 0.06%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #198      +/-   ##
==========================================
- Coverage   67.23%   67.17%   -0.07%     
==========================================
  Files          12       12              
  Lines        2045     2047       +2     
==========================================
  Hits         1375     1375              
- Misses        670      672       +2     
Impacted Files Coverage Δ
efel/api.py 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 83d27ff...158781a. Read the comment docs.

@wvangeit wvangeit merged commit a928151 into BlueBrain:master Feb 10, 2021
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.

None yet

4 participants