Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TVB_tutorials
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Fousek
TVB_tutorials
Commits
f90f4f1b
Commit
f90f4f1b
authored
4 years ago
by
Jan Fousek
Browse files
Options
Downloads
Patches
Plain Diff
cleanup
parent
7233d1a3
Branches
mcgill_summer_school
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
4_TVB_EITN_Modelling_Epilepsy.ipynb
+0
-8910
0 additions, 8910 deletions
4_TVB_EITN_Modelling_Epilepsy.ipynb
phase_plane.py
+1
-1
1 addition, 1 deletion
phase_plane.py
utils.py
+9
-0
9 additions, 0 deletions
utils.py
with
10 additions
and
8911 deletions
4_TVB_EITN_Modelling_Epilepsy.ipynb
deleted
100755 → 0
+
0
−
8910
View file @
7233d1a3
This diff is collapsed.
Click to expand it.
phase_plane.py
+
1
−
1
View file @
f90f4f1b
...
...
@@ -158,7 +158,7 @@ def phase_plane_interactive(model, integrator):
for
svar
,
svar_range
in
model
.
state_variable_range
.
items
():
param_kwargs
[
svar
]
=
FloatSlider
(
min
=
svar_range
[
0
],
max
=
svar_range
[
1
],
value
=
svar_range
.
mean
(
)
min
=
svar_range
[
0
],
max
=
svar_range
[
1
],
value
=
np
.
mean
(
svar_range
)
)
param_kwargs
[
'
svx
'
]
=
Dropdown
(
...
...
This diff is collapsed.
Click to expand it.
utils.py
+
9
−
0
View file @
f90f4f1b
...
...
@@ -27,3 +27,12 @@ def plot_connectivity(conn):
fig
.
tight_layout
()
plt
.
show
()
def
generate_initial_conditions_array
(
conn
,
dt
,
model
):
idelays
=
np
.
rint
(
conn
.
delays
/
dt
).
astype
(
numpy
.
int32
)
horizon
=
idelays
.
max
()
+
1
nvar
=
model
.
nvar
nnodes
=
conn
.
number_of_nodes
nmodes
=
model
.
number_of_modes
return
np
.
zeros
(
(
horizon
,
nvar
,
nnodes
,
nmodes
)
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment