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
5efbdcfa
Commit
5efbdcfa
authored
6 years ago
by
abiakarn
Browse files
Options
Downloads
Patches
Plain Diff
version v4 - doesn't quite match neuron with different initial segment params and tuft stimulus
parent
2357b5c5
No related branches found
Branches containing commit
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
+4
-4
4 additions, 4 deletions
example/mitral/mitral.cpp
with
4 additions
and
4 deletions
example/mitral/mitral.cpp
+
4
−
4
View file @
5efbdcfa
...
@@ -333,8 +333,8 @@ arb::cable_cell branch_cell(unsigned num_gj, double delay, double duration, bool
...
@@ -333,8 +333,8 @@ arb::cable_cell branch_cell(unsigned num_gj, double delay, double duration, bool
auto
soma
=
cell
.
add_soma
(
22.360679775
/
2.0
);
auto
soma
=
cell
.
add_soma
(
22.360679775
/
2.0
);
set_reg_params
(
soma
);
set_reg_params
(
soma
);
arb
::
i_clamp
stim
(
delay
,
duration
,
0.2
);
/*
arb::i_clamp stim(delay, duration, 0.2);
cell
.
add_stimulus
({
0
,
0.25
},
stim
);
cell.add_stimulus({0, 0.25}, stim);
*/
auto
dend
=
cell
.
add_cable
(
0
,
arb
::
section_kind
::
dendrite
,
3.0
/
2.0
,
3.0
/
2.0
,
300
);
//cable 1
auto
dend
=
cell
.
add_cable
(
0
,
arb
::
section_kind
::
dendrite
,
3.0
/
2.0
,
3.0
/
2.0
,
300
);
//cable 1
dend
->
set_compartments
(
5
);
dend
->
set_compartments
(
5
);
...
@@ -361,8 +361,8 @@ arb::cable_cell branch_cell(unsigned num_gj, double delay, double duration, bool
...
@@ -361,8 +361,8 @@ arb::cable_cell branch_cell(unsigned num_gj, double delay, double duration, bool
tuft
->
set_compartments
(
30
);
tuft
->
set_compartments
(
30
);
set_reg_params
(
tuft
,
tweak
);
set_reg_params
(
tuft
,
tweak
);
/*
arb::i_clamp stim(delay, duration, 0.02);
arb
::
i_clamp
stim
(
delay
,
duration
,
0.02
);
cell.add_stimulus({6 + i, 0.25}, stim);
*/
cell
.
add_stimulus
({
6
+
i
,
0.25
},
stim
);
cell
.
add_gap_junction
({
6
+
i
,
0.95
});
cell
.
add_gap_junction
({
6
+
i
,
0.95
});
}
}
...
...
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