Skip to content

Commit

Permalink
changes to hardcoded subject names in a few scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Gumphrey committed Dec 1, 2023
1 parent 8b1d9c3 commit 76e6ac5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions +light_capture/get_all_cone_locations.m
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
function locs = get_all_cone_locations(subject)
if nargin < 1
subject = '10001';
subject = '10001R';
end

% get location of all cones
dat = load(['dat/' subject '/LMS_cones.mat']);
dat = load(['+cone_mosaic/dat/' subject '/LMS_cones.mat']);
fnames = fieldnames(dat); %LMS_cones_10001R;
locs = dat.(fnames{1});

Expand Down
6 changes: 3 additions & 3 deletions +light_capture/mosaic_analysis.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
subject = '20076';
subject = '20076R';

cones = get_all_cone_locations(subject);
cones = light_capture.get_all_cone_locations(subject);
figure;
plot(cones(:, 1), cones(:, 2), 'k+')

Expand All @@ -20,7 +20,7 @@
mean(mean(dist(:, 2:7)))

% get the cones from a subject
cones = get_all_cone_locations('10001');
cones = light_capture.get_all_cone_locations(subject);
% select out a center cone of interest
c_ind = 107;
x_mean = cones(c_ind, 1);
Expand Down
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*~
*.asv
unittests/dat/blood_vessel/*.tif
*.json
*~
*.asv
unittests/dat/blood_vessel/*.tif
*.json
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "export_fig"]
path = libs/export_fig
url = https://github.com/altmany/export_fig
[submodule "export_fig"]
path = libs/export_fig
url = https://github.com/altmany/export_fig

0 comments on commit 76e6ac5

Please sign in to comment.