From 2cb270ef63bef49d3f4f6eb63eca94dc22cd902b Mon Sep 17 00:00:00 2001 From: Fa-Hsuan Lin Date: Mon, 24 Jun 2024 11:49:35 -0400 Subject: [PATCH] Add files via upload --- scripts/tms_script_test.m | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/tms_script_test.m b/scripts/tms_script_test.m index 6a17e9a..a660011 100644 --- a/scripts/tms_script_test.m +++ b/scripts/tms_script_test.m @@ -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. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -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;