Skip to content

Time dependent inputs for FHN, WC, Hopf - #211

Merged
caglorithm merged 23 commits into
neurolib-dev:masterfrom
lenasal:time_dependent_inputs_testing
Jun 20, 2022
Merged

caglorithm merged 23 commits into
neurolib-dev:masterfrom
lenasal:time_dependent_inputs_testing

Conversation

@lenasal

@lenasal lenasal commented Jun 8, 2022

Copy link
Copy Markdown
Collaborator

Include time-dependent inputs to the FHN model, the WC model, and the Hopf model.

  • move "adjust_shape" function from aln time integration file to general file in utils
  • fix bug in test_models
  • add tests for stimulation of FHN, WC, Hopf

@caglorithm

caglorithm commented Jun 15, 2022 •

Copy link
Copy Markdown
Member

Few issues remaining:

  • Tests still failing.
  • PR contains changes in notebooks.
  • Changes in parameter names need to be reverted everywhere (also in tests).

Please, either submit only working PR's or add a "WIP" title to the PR if it's a work in progress.

@caglorithm caglorithm changed the title Time dependent inputs testing WIP: Time dependent inputs testing Jun 15, 2022
@caglorithm caglorithm changed the title WIP: Time dependent inputs testing WIP: Time dependent inputs Jun 15, 2022
@caglorithm caglorithm changed the title WIP: Time dependent inputs WIP: Time dependent inputs for FHN, WC, Hopf Jun 15, 2022
lenasal added 2 commits June 16, 2022 09:35
…justArrayShape, changed back default parameters
@codecov

codecov Bot commented Jun 16, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #211 (1b29bcf) into master (e701a58) will decrease coverage by 0.00%.
The diff coverage is 94.12%.

@@            Coverage Diff             @@
##           master     #211      +/-   ##
==========================================
- Coverage   94.97%   94.96%   -0.00%     
==========================================
  Files          50       51       +1     
  Lines        4410     4427      +17     
==========================================
+ Hits         4188     4204      +16     
- Misses        222      223       +1     
Flag Coverage Δ
unittests 94.96% <94.12%> (-<0.01%) ⬇️

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

Impacted Files Coverage Δ
neurolib/utils/model_utils.py 94.12% <94.12%> (ø)

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 e701a58...1b29bcf. Read the comment docs.

@lenasal

lenasal commented Jun 16, 2022

Copy link
Copy Markdown
Collaborator Author

I've updated things, test are not failing anymore.

@lenasal

lenasal commented Jun 16, 2022

Copy link
Copy Markdown
Collaborator Author

changed index of inputs in time integration, this way it is more in line with the aln model (and also, I personally think it makes more sense)

@caglorithm

Copy link
Copy Markdown
Member

Nice! Could you also remove your commits for the notebooks from the PR?

@caglorithm caglorithm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please see the one nit comment I've made!

@caglorithm caglorithm changed the title WIP: Time dependent inputs for FHN, WC, Hopf Time dependent inputs for FHN, WC, Hopf Jun 17, 2022
@caglorithm

Copy link
Copy Markdown
Member

LGTM. Merging after tests finish ✅.

@caglorithm
caglorithm merged commit 07a3437 into neurolib-dev:master Jun 20, 2022
@lenasal
lenasal deleted the time_dependent_inputs_testing branch June 20, 2022 14:47
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.

3 participants