Skip to content
Snippets Groups Projects
Commit 6801afd7 authored by Calvin Eiber's avatar Calvin Eiber
Browse files

Update nerve_recording.m

parent f8defae5
Branches
No related tags found
No related merge requests found
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(:,ff), ...
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(:,ff), ...
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(:,ff), ...
sensitivity(:,f), ...
axon_xy{g,f},opts), ...
[nG nF],ii); %#ok<PFBNS>
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment