Skip to content

Commit

Permalink
Merge branch '1-map-script-doesnt-properly-change-the-window-size-wit…
Browse files Browse the repository at this point in the history
…h-individual-cone-position'
  • Loading branch information
Robert F Cooper committed Dec 7, 2022
2 parents 2e0c912 + 5d3f57a commit f1cafa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Coordinate_Mosaic_Metrics_MAP.m
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,8 @@

thisval = statistics{c}.(metriclist{selectedmetric});

rowrange = round(coords(c,2)-(pixelwindowsize/2):coords(c,2)+(pixelwindowsize/2));
colrange = round(coords(c,1)-(pixelwindowsize/2):coords(c,1)+(pixelwindowsize/2));
rowrange = round(coords(c,2)-(pixelwindowsize(c)/2):coords(c,2)+(pixelwindowsize(c)/2));
colrange = round(coords(c,1)-(pixelwindowsize(c)/2):coords(c,1)+(pixelwindowsize(c)/2));

rowrange(rowrange<1) =[];
colrange(colrange<1) =[];
Expand Down

0 comments on commit f1cafa9

Please sign in to comment.