Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ViNERS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lab-Keast-Osborne-Release
ViNERS
Commits
6801afd7
Commit
6801afd7
authored
3 years ago
by
Calvin Eiber
Browse files
Options
Downloads
Patches
Plain Diff
Update nerve_recording.m
parent
f8defae5
Branches
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
+models/nerve_recording.m
+3
-4
3 additions, 4 deletions
+models/nerve_recording.m
with
3 additions
and
4 deletions
+models/nerve_recording.m
+
3
−
4
View file @
6801afd7
function
settings
=
nerve_recording
(
varargin
)
% TODO add header documentation : raw docstring below
%
...
...
@@ -335,7 +334,7 @@ for i_rep = 1:n_rep
for
ii
=
1
:(
nG
*
nF
)
V
{
ii
}
=
parfun_unpack
(
cache_path
,
@
(
g
,
f
)
...
models
.
spike_to_wave
(
g
+
f
/
gff
,
time
,
...
sensitivity
(:,
f
f
),
...
sensitivity
(:,
f
),
...
axon_xy
{
g
,
f
},
opts
),
...
[
nG
nF
],
ii
);
end
...
...
@@ -343,7 +342,7 @@ for i_rep = 1:n_rep
if
isempty
(
which
(
'pararrayfun'
)),
pkg
load
parallel
;
end
V
=
pararrayfun
(
nproc
-
1
,
@
(
a
)
parfun_unpack
(
cache_path
,
@
(
g
,
f
)
...
models
.
spike_to_wave
(
g
+
f
/
gff
,
time
,
...
sensitivity
(:,
f
f
),
...
sensitivity
(:,
f
),
...
axon_xy
{
g
,
f
},
opts
),
...
[
nG
nF
],
a
),
1
:(
nG
*
nF
),
'Unif'
,
false
);
error
TODO_validate_this_for_octave
...
...
@@ -351,7 +350,7 @@ for i_rep = 1:n_rep
parfor
ii
=
1
:(
nG
*
nF
)
V
{
ii
}
=
parfun_unpack
(
cache_path
,
@
(
g
,
f
)
...
models
.
spike_to_wave
(
g
+
f
/
gff
,
time
,
...
sensitivity
(:,
f
f
),
...
sensitivity
(:,
f
),
...
axon_xy
{
g
,
f
},
opts
),
...
[
nG
nF
],
ii
);
%#ok<PFBNS>
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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