-
Notifications
You must be signed in to change notification settings - Fork 370
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
Aeif psc delta 2 continued #849
Conversation
…ace expensive division with multiplication
…aeif_psc_delta2 Name change in remote caused conflict
set/getable. Reordered position of with_refr_input_ in aeif_psc_delta.h to avoid warning.
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.
Good work, just a question about possible use of defaultdict to make it lighter and (maybe) easier to understand, otherwise it's all fine!
|
||
# Compare models to the LSODAR implementation. | ||
|
||
def test_closeness_nest_lsodar(self): |
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 was changed by @gtrensch is it okay to switch back to docstrings now?
aeif_DT0_delta = aeif_DT0.copy() | ||
aeif_DT0_delta.pop('tau_syn_ex') | ||
|
||
DT0_params = {"aeif_cond_alpha": aeif_DT0, |
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.
use defaultdict
?
Sorry I took so long to address your comments, @Silmathoron! |
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.
Ok 👍
(the question of the docstrings was to be answered by @gtrensch but I guess this is fine ^^)
This is a continuation of PR #613, and can replace that PR. Most of the work has been reviewed, the difference is that
with_refr_input_
is defaulted tofalse
and is made set/getable as requested. I have also reordered the placement ofwith_refr_input_
inaeif_psc_delta.h
to get rid of a warning.Almost all the work is done @lepmik.