Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
fahsuanlin authored Jun 24, 2024
1 parent 5a17572 commit 2cb270e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions scripts/tms_script_test.m
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,6 @@
end;

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
if(flag_nav) %prepare for rendering in tuning
global etc_render_fsbrain

object_UserData_buffer=etc_render_fsbrain.object.UserData;
end;

%%%%%%%%%%% tuning loop, if any, starts here. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Expand All @@ -156,9 +151,6 @@
strcoil = etc_tms_target_xfm_apply(strcoil, tms_coil_xfm_moved(1:3,4).*1e3, -tms_coil_xfm_moved(1:3,3), tms_coil_xfm_moved(1:3,2), tms_coil_xfm_moved, tms_coil_xfm_moved_tuned);
%%% this is updating navigation window objects for subsequent rendering, if any
if(flag_nav)
%restore object_xfm
etc_render_fsbrain.object.UserData=object_UserData_buffer;

results = etc_tms_target_xfm_apply_nav(etc_render_fsbrain.app_tms_nav, tms_coil_xfm_moved_tuned(1:3,4).*1e3, -tms_coil_xfm_moved_tuned(1:3,3), tms_coil_xfm_moved_tuned(1:3,2));
end;

Expand Down

0 comments on commit 2cb270e

Please sign in to comment.