File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 156156out_of_brain = false ;
157157while ~(ann == 1 && out_of_brain ) % && distance_stepped > .5*active_probe_length)
158158 m = m - p ; % step 10um, backwards up the track
159-
160159 if strcmp(plane ,' coronal' )
161160 ann = av_plot(round(m(1 )),round(m(2 )),round(m(3 ))); % until hitting the top
162-
163161 elseif strcmp(plane ,' sagittal' )
164162 ann = av_plot(round(m(3 )),round(m(2 )),round(m(1 ))); % until hitting the top
165-
166163 elseif strcmp(plane ,' transverse' )
167164 ann = av_plot(round(m(2 )),round(m(3 )),round(m(1 ))); % until hitting the top
168-
169165 end
170-
171-
172-
173166 if strcmp(st .safe_name(ann ), ' root' )
174167 % make sure this isn't just a 'root' area within the brain
175168 m_further_up = m - p * 20 ; % is there more brain 200 microns up along the track?
You can’t perform that action at this time.
0 commit comments