@@ -157,7 +157,7 @@ def process_files(prompts_header_filename,
157157 ## so we're creatiing one here
158158 proj_info = prompts_from_e7 .get_proj_data_info ()
159159 nonTOF_proj_info = proj_info .create_non_tof_clone ()
160- nonTOFtemplate = stir .ProjDataInterfile (prompts_from_e7 .get_exam_info (), nonTOF_proj_info , os .path .join (STIR_output_folder ,nonTOF_template_sinogram_name ))
160+ stir .ProjDataInterfile (prompts_from_e7 .get_exam_info (), nonTOF_proj_info , os .path .join (STIR_output_folder ,nonTOF_template_sinogram_name ))
161161
162162 #%%
163163 ######## select display variables
@@ -413,7 +413,7 @@ def process_files(prompts_header_filename,
413413 prompts_precorr_arr = stirextra .to_numpy (prompts_precorr_f_multi_fact )
414414 additive_term_arr = stirextra .to_numpy (add_sino )
415415
416- fig , ax = plt .subplots (figsize = (8 ,6 ))
416+ _ , ax = plt .subplots (figsize = (8 ,6 ))
417417
418418 prompts_mean = np .mean (prompts_precorr_arr [TOF_bin , central_slice - thickness_half :central_slice + thickness_half , 0 , :], axis = (0 ))
419419 ax .plot (prompts_mean , label = "Prompts, pre-corrected f. multi. factors" )
@@ -437,7 +437,7 @@ def process_files(prompts_header_filename,
437437 BG_arr = scatter_3D_unnormalized_arr + randoms_arr
438438
439439 #%%
440- fig , ax = plt .subplots (figsize = (8 ,6 ))
440+ _ , ax = plt .subplots (figsize = (8 ,6 ))
441441
442442 ax .plot (np .mean (prompts_arr [TOF_bin , central_slice - thickness_half :central_slice + thickness_half , 0 , :], axis = (0 )), label = 'Prompts' )
443443 ax .plot (np .mean (BG_arr [TOF_bin , central_slice - thickness_half :central_slice + thickness_half , 0 , :], axis = (0 )), label = 'BG term' )
0 commit comments