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

corrected index of rates_exc in computation of IA_rhs #237

Merged
merged 2 commits into from Jul 13, 2023

Conversation

lenasal
Copy link
Collaborator

@lenasal lenasal commented Jul 13, 2023

... as discussed with Nikola :-)

@jajcayn jajcayn self-assigned this Jul 13, 2023
@jajcayn jajcayn self-requested a review July 13, 2023 12:32
Copy link
Collaborator

@jajcayn jajcayn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@codecov
Copy link

codecov bot commented Jul 13, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.09 🎉

Comparison is base (9f2c077) 93.41% compared to head (c2149f8) 93.50%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #237      +/-   ##
==========================================
+ Coverage   93.41%   93.50%   +0.09%     
==========================================
  Files          51       51              
  Lines        4401     4401              
==========================================
+ Hits         4111     4115       +4     
+ Misses        290      286       -4     
Flag Coverage Δ
unittests 93.50% <ø> (+0.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@jajcayn
Copy link
Collaborator

jajcayn commented Jul 13, 2023

@lenasal could you please rebase on the new master? I fixed unrelated errors with numpy.
Thanks

@lenasal
Copy link
Collaborator Author

lenasal commented Jul 13, 2023

rebased on new master branch

@jajcayn jajcayn closed this Jul 13, 2023
@jajcayn jajcayn reopened this Jul 13, 2023
@jajcayn jajcayn merged commit 05e2880 into neurolib-dev:master Jul 13, 2023
13 of 16 checks passed
@@ -514,7 +514,7 @@ def timeIntegration_njit_elementwise(
mufi_rhs = (mui - mufi[no]) / tau_inh

# rate has to be kHz
IA_rhs = (a * (Vmean_exc - EA) - IA[no, i - 1] + tauA * b * rates_exc[no, i] * 1e-3) / tauA
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure that this is correct?

Compare rates_exc[:, i] with Vmean_exc:

rates_exc[no, i] = interpolate_values(precalc_r, xid1, yid1, dxid, dyid) * 1e3
Vmean_exc = interpolate_values(precalc_V, xid1, yid1, dxid, dyid)

They are the same time step. rates_exc[no, i-1] is too old.

@lenasal lenasal deleted the aln_rates_index branch August 2, 2023 10:44
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

3 participants