Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
multi-area-model
Manage
Activity
Members
Labels
Plan
Issues
7
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
IAS-6
multi-area-model
Commits
b3c9c9fa
Commit
b3c9c9fa
authored
7 years ago
by
Maximilian Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
Use absolute paths rather than relative paths for files
parent
2ddbe170
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1
Add all necessary files for the multi-area model
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
multiarea_model/default_params.py
+3
-1
3 additions, 1 deletion
multiarea_model/default_params.py
run_example.py
+5
-2
5 additions, 2 deletions
run_example.py
with
8 additions
and
3 deletions
multiarea_model/default_params.py
+
3
−
1
View file @
b3c9c9fa
...
...
@@ -62,7 +62,8 @@ network_params = {
'
N_scaling
'
:
1.
,
# Scaling of indegrees
'
K_scaling
'
:
1.
,
# Full-scale rates for scaling synaptic weights
# Absolute path to the file holding full-scale rates for scaling
# synaptic weights
'
fullscale_rates
'
:
None
}
...
...
@@ -146,6 +147,7 @@ connection_params = {
# $(replace_cc_input_source)-area-population.npy
# (e.g. '$(replace_cc_input_source)-V1-23E.npy')
# contain the time series for each population.
# We recommend using absolute paths rather than relative paths.
'
replace_cc_input_source
'
:
None
,
# whether to redistribute CC synapse to meet literature value
...
...
This diff is collapsed.
Click to expand it.
run_example.py
+
5
−
2
View file @
b3c9c9fa
import
os
from
multiarea_model
import
MultiAreaModel
from
start_jobs
import
start_job
from
config
import
submit_cmd
,
jobscript_template
from
config
import
base_path
"""
Example script showing how to simulate the multi-area model
...
...
@@ -17,7 +20,7 @@ resources, for instance on a compute cluster.
"""
d
=
{}
conn_params
=
{
'
g
'
:
-
11.
,
'
K_stable
'
:
'
K_stable.npy
'
,
'
K_stable
'
:
os
.
path
.
join
(
base_path
,
'
K_stable.npy
'
)
,
'
fac_nu_ext_TH
'
:
1.2
,
'
fac_nu_ext_5E
'
:
1.125
,
'
fac_nu_ext_6E
'
:
1.41666667
,
...
...
@@ -68,7 +71,7 @@ neuron_params = {'V0_mean': -150.,
'
V0_sd
'
:
50.
}
network_params
=
{
'
N_scaling
'
:
0.01
,
'
K_scaling
'
:
0.01
,
'
fullscale_rates
'
:
'
tests/fullscale_rates.json
'
,
'
fullscale_rates
'
:
os
.
path
.
join
(
base_path
,
'
tests/fullscale_rates.json
'
)
,
'
connection_params
'
:
conn_params
,
'
neuron_params
'
:
neuron_params
}
...
...
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