File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -348,6 +348,10 @@ def init_syn_preprocessing_wf(
348348    auto_bold_nss = False ,
349349    t1w_inversion = False ,
350350    sd_prior = True ,
351+     n4_iterations = (50 ,) *  5 ,
352+     n4_shrink_factor = 4 ,
353+     calculate_n4_spline_grid = False ,
354+     ** kwargs ,
351355):
352356    """ 
353357    Prepare EPI references and co-registration to anatomical for SyN. 
@@ -470,6 +474,9 @@ def init_syn_preprocessing_wf(
470474    epi_reference_wf  =  init_epi_reference_wf (
471475        omp_nthreads = omp_nthreads ,
472476        auto_bold_nss = auto_bold_nss ,
477+         n4_iterations = n4_iterations ,
478+         n4_shrink_factor = n4_shrink_factor ,
479+         calculate_bspline_grid = calculate_n4_spline_grid ,
473480    )
474481    epi_brain  =  pe .Node (BrainExtraction (), name = 'epi_brain' )
475482    merge_output  =  pe .Node (
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments