Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arbor
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor 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
arbor-sim
arbor
Commits
2357b5c5
Commit
2357b5c5
authored
6 years ago
by
abiakarn
Browse files
Options
Downloads
Patches
Plain Diff
important change - fix e_pas in tuft
parent
dfd1f6f5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
example/mitral/mitral.cpp
+2
-2
2 additions, 2 deletions
example/mitral/mitral.cpp
with
2 additions
and
2 deletions
example/mitral/mitral.cpp
+
2
−
2
View file @
2357b5c5
...
@@ -267,7 +267,7 @@ void write_trace_json(const std::vector<arb::trace_data<double>>& trace) {
...
@@ -267,7 +267,7 @@ void write_trace_json(const std::vector<arb::trace_data<double>>& trace) {
std
::
string
path
=
"./voltages_imp"
+
std
::
to_string
(
i
)
+
".json"
;
std
::
string
path
=
"./voltages_imp"
+
std
::
to_string
(
i
)
+
".json"
;
nlohmann
::
json
json
;
nlohmann
::
json
json
;
json
[
"name"
]
=
"
gj demo: cell "
+
std
::
to_string
(
i
)
;
json
[
"name"
]
=
"
arbor"
;
json
[
"units"
]
=
"mV"
;
json
[
"units"
]
=
"mV"
;
json
[
"cell"
]
=
std
::
to_string
(
i
);
json
[
"cell"
]
=
std
::
to_string
(
i
);
json
[
"probe"
]
=
"0"
;
json
[
"probe"
]
=
"0"
;
...
@@ -299,7 +299,7 @@ arb::cable_cell branch_cell(unsigned num_gj, double delay, double duration, bool
...
@@ -299,7 +299,7 @@ arb::cable_cell branch_cell(unsigned num_gj, double delay, double duration, bool
kdrmt
[
"gbar"
]
=
0.0001
;
kdrmt
[
"gbar"
]
=
0.0001
;
kamt
[
"gbar"
]
=
0.004
;
kamt
[
"gbar"
]
=
0.004
;
pas
[
"g"
]
=
1.0
/
12000.0
;
pas
[
"g"
]
=
1.0
/
12000.0
;
pas
[
"e"
]
=
-
61.772335
;
pas
[
"e"
]
=
change_nax
?
-
61.759276
:
-
61.772335
;
seg
->
rL
=
150
;
seg
->
rL
=
150
;
seg
->
cm
=
0.018
;
seg
->
cm
=
0.018
;
...
...
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