OSCR

Neural correlates of appetitive extinction learning: an fMRI study with actively participating pigeons.

Code ↔ Paper

3 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 3 matches · 1 of them tie a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
  1. [1] § Materials and methods › Data analysis › fMRI data analysis ↔ fMRI_processing/6-PreProcessing.ipynb, lines 179–289 · score 0.83 · temporal filtering, spatial smoothing, motion correction, Gaussian, slice, volumes
  2. [2] § Materials and methods › Data analysis › Behavioral data analysis ↔ behavioural_data/Signal_Detection_theory_pigeon.m, lines 26–42 · score 0.60 · signal detection theory, Hit rates, FA, pigeon, Behavioral
  3. [3] § Materials and methods › Data analysis › Contrasts for first-level analysis ↔ fMRI_processing/3- prep_bold.py.ipynb, the whole file · a weak match · score 0.59 · fsl motion outlier, confounds, model

Paper

Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

Jupyter notebook · 319 lines · 17 KB · no license · 1 match

  1. # %% [markdown]
  2. # # Initialisation
  3. # Here, we will remove first n volume, and copy data in result directory
  4. # %%
  5. import glob
  6. import os
  7. import subprocess
  8. dummy_scan = 10 #number of volumes for delete
  9. path = '/mnt/d/Data/Pigeon/analysis/ColorDisc/'
  10. bold_files = glob.glob('%s/sub*/*/func.nii.gz'%(path))
  11. for cur_bold in bold_files:
  12. print(cur_bold)
  13. #cur_dir = os.path.dirname(cur_bold)
  14. # strip off .nii.gz from file name (makes code below easier)
  15. results_folder = cur_bold[:-7]
  16. #print(results_folder)
  17. # creat a result folder fro each run
  18. os.makedirs(results_folder)
  19. #copy functional data in result folder
  20. os.system("fslmaths %s %s/prefiltered_func_data -odt float"%(cur_bold,results_folder))
  21. # read number of volumes for each run and remove first five volume
  22. nVloume = subprocess.check_output("fslnvols %s"%(cur_bold), shell=True).decode('utf-8')
  23. print(nVloume)
  24. #remove the dumy scns from data
  25. os.system("fslroi %s/prefiltered_func_data %s/prefiltered_func_data %s %s"%(results_folder,results_folder,dummy_scan,int(nVloume)-int(dummy_scan)))
  26. #creat an example file
  27. os.system("fslroi %s/prefiltered_func_data %s/example_func %s %s"%(results_folder,results_folder,round((int(nVloume)-int(dummy_scan))/2),1))
  28. # %% [markdown]
  29. # # Registration
  30. # %% [markdown]
  31. # Anatomical 2 Standard space registration
  32. # %%
  33. import glob
  34. import os
  35. data_path = '/mnt/d/Data/Pigeon/analysis/ColorDisc/'
  36. reference_path = '/mnt/d/Data/Pigeon/analysis/ColorDisc/template'
  37. #bold_dir = glob.glob('%s/sub*/run*'%(path))
  38. sub_dir = glob.glob('%s/sub*'%(data_path))
  39. for sub in sub_dir:
  40. reg_directory = os.path.join(sub,'anat/reg')
  41. print(reg_directory)
  42. os.makedirs(reg_directory)
  43. os.system('fslmaths %s/anat/anat_brain %s/highres'%(sub,reg_directory))
  44. os.system('fslmaths %s/anat/anat %s/highres_head'%(sub,reg_directory))
  45. os.system('fslmaths %s/MYtemplate0 %s/standard'%(reference_path,reg_directory))
  46. os.system('fslmaths %s/MYtemplate0 %s/standard_head'%(reference_path,reg_directory))
  47. os.system('fslmaths %s/MYtemplate0 -bin -dilF -dilF %s/standard_mask -odt char'%(reference_path,reg_directory))
  48. # change directory to the reg
  49. os.chdir(reg_directory)
  50. #hihres 2 standard
  51. # FSL nonlinear registeration
  52. os.system('flirt -in highres -ref standard -out highres2standard -omat highres2standard.mat -cost corratio -dof 12 -searchrx -180 180 -searchry -180 180 -searchrz -180 180 -interp trilinear')
  53. os.system('fnirt --iout=highres2standard_head --in=highres_head --aff=highres2standard.mat --cout=highres2standard_warp --iout=highres2standard --jout=highres2highres_jac --config=T1_2_MNI152_2mm --ref=standard_head --refmask=standard_mask --warpres=10,10,10')
  54. os.system('applywarp -i highres -r standard -o highres2standard -w highres2standard_warp')
  55. os.system('convert_xfm -inverse -omat standard2highres.mat highres2standard.mat')
  56. os.system('slicer highres2standard standard -s 2 -x 0.35 sla.png -x 0.45 slb.png -x 0.55 slc.png -x 0.65 sld.png -y 0.35 sle.png -y 0.45 slf.png -y 0.55 slg.png -y 0.65 slh.png -z 0.35 sli.png -z 0.45 slj.png -z 0.55 slk.png -z 0.65 sll.png ; pngappend sla.png + slb.png + slc.png + sld.png + sle.png + slf.png + slg.png + slh.png + sli.png + slj.png + slk.png + sll.png highres2standard1.png ; slicer standard highres2standard -s 2 -x 0.35 sla.png -x 0.45 slb.png -x 0.55 slc.png -x 0.65 sld.png -y 0.35 sle.png -y 0.45 slf.png -y 0.55 slg.png -y 0.65 slh.png -z 0.35 sli.png -z 0.45 slj.png -z 0.55 slk.png -z 0.65 sll.png ; pngappend sla.png + slb.png + slc.png + sld.png + sle.png + slf.png + slg.png + slh.png + sli.png + slj.png + slk.png + sll.png highres2standard2.png ; pngappend highres2standard1.png - highres2standard2.png highres2standard.png; rm -f sl?.png highres2standard2.png')
  57. os.system('rm highres2standard1.png')
  58. # %% [markdown]
  59. # # Plot Anatomical 2 Atlas registration reults
  60. # %%
  61. %matplotlib inline
  62. %pylab inline
  63. #import matplotlib.pyplot as plt
  64. #import matplotlib.image as mpimg
  65. from IPython.display import display, Image
  66. import glob
  67. import os
  68. data_path = '/mnt/d/Data/Pigeon/analysis/ColorDisc/'
  69. reg_dir = glob.glob('%s/sub*/anat/reg'%(data_path))
  70. for curr_reg in reg_dir:
  71. #print(curr_reg)
  72. print(curr_reg[-9:-4])
  73. plt.show()
  74. display(Image(filename=os.path.join(curr_reg, 'highres2standard.png' )))
  75. # %% [markdown]
  76. # # Functional 2 anatomical space registration
  77. # <br>
  78. # ANt is working better than FSL nonlinear registration.
  79. # Dow you will find both methods.
  80. # %%
  81. import glob
  82. import os
  83. data_path = '/mnt/d/Data/Pigeon/analysis/ColorDisc/'
  84. func_dir = glob.glob('%s/sub*/*/func'%(data_path))
  85. for curr_func_dir in func_dir[14:15]:
  86. reg_dir = curr_func_dir[0:43]+'/anat/reg'
  87. print(curr_func_dir)
  88. print(reg_dir)
  89. extended_func_dir = curr_func_dir[:-5]
  90. #copy reg directory to each run directory
  91. os.system('cp -R %s %s'%(reg_dir,curr_func_dir))
  92. os.system('cp %s/example_func.nii.gz %s/reg'%(curr_func_dir,curr_func_dir))
  93. # change path
  94. os.chdir(curr_func_dir + '/reg')
  95. #FSL
  96. # register func 2 extended func
  97. os.system('fslmaths %s/expanded_func %s/reg/initial_highres'%(extended_func_dir,curr_func_dir))
  98. os.system('flirt -in example_func -ref initial_highres -out example_func2initial_highres -omat example_func2initial_highres.mat -cost corratio -dof 6 -searchrx -180 180 -searchry -180 180 -searchrz -180 180 -interp trilinear')
  99. os.system('convert_xfm -inverse -omat initial_highres2example_func.mat example_func2initial_highres.mat')
  100. os.system('slicer example_func2initial_highres initial_highres -s 2 -x 0.35 sla.png -x 0.45 slb.png -x 0.55 slc.png -x 0.65 sld.png -y 0.35 sle.png -y 0.45 slf.png -y 0.55 slg.png -y 0.65 slh.png -z 0.35 sli.png -z 0.45 slj.png -z 0.55 slk.png -z 0.65 sll.png ; /usr/local/fsl/bin/pngappend sla.png + slb.png + slc.png + sld.png + sle.png + slf.png + slg.png + slh.png + sli.png + slj.png + slk.png + sll.png example_func2initial_highres1.png ; /usr/local/fsl/bin/slicer initial_highres example_func2initial_highres -s 2 -x 0.35 sla.png -x 0.45 slb.png -x 0.55 slc.png -x 0.65 sld.png -y 0.35 sle.png -y 0.45 slf.png -y 0.55 slg.png -y 0.65 slh.png -z 0.35 sli.png -z 0.45 slj.png -z 0.55 slk.png -z 0.65 sll.png ; /usr/local/fsl/bin/pngappend sla.png + slb.png + slc.png + sld.png + sle.png + slf.png + slg.png + slh.png + sli.png + slj.png + slk.png + sll.png example_func2initial_highres2.png ; /usr/local/fsl/bin/pngappend example_func2initial_highres1.png - example_func2initial_highres2.png example_func2initial_highres.png; /bin/rm -f sl?.png example_func2initial_highres2.png')
  101. os.system('rm example_func2initial_highres1.png')
  102. # initial_highres to highres
  103. os.system('flirt -in initial_highres -ref highres -out initial_highres2highres -omat initial_highres2highres.mat -cost corratio -dof 3 -searchrx -180 180 -searchry -180 180 -searchrz -180 180 -interp trilinear')
  104. os.system('convert_xfm -inverse -omat highres2initial_highres.mat initial_highres2highres.mat')
  105. os.system('slicer initial_highres2highres highres -s 2 -x 0.35 sla.png -x 0.45 slb.png -x 0.55 slc.png -x 0.65 sld.png -y 0.35 sle.png -y 0.45 slf.png -y 0.55 slg.png -y 0.65 slh.png -z 0.35 sli.png -z 0.45 slj.png -z 0.55 slk.png -z 0.65 sll.png ; /usr/local/fsl/bin/pngappend sla.png + slb.png + slc.png + sld.png + sle.png + slf.png + slg.png + slh.png + sli.png + slj.png + slk.png + sll.png initial_highres2highres1.png ; /usr/local/fsl/bin/slicer highres initial_highres2highres -s 2 -x 0.35 sla.png -x 0.45 slb.png -x 0.55 slc.png -x 0.65 sld.png -y 0.35 sle.png -y 0.45 slf.png -y 0.55 slg.png -y 0.65 slh.png -z 0.35 sli.png -z 0.45 slj.png -z 0.55 slk.png -z 0.65 sll.png ; /usr/local/fsl/bin/pngappend sla.png + slb.png + slc.png + sld.png + sle.png + slf.png + slg.png + slh.png + sli.png + slj.png + slk.png + sll.png initial_highres2highres2.png ; /usr/local/fsl/bin/pngappend initial_highres2highres1.png - initial_highres2highres2.png initial_highres2highres.png; /bin/rm -f sl?.png initial_highres2highres2.png')
  106. os.system('rm initial_highres2highres1.png')
  107. # example_func 2 highres
  108. os.system('convert_xfm -omat example_func2highres.mat -concat initial_highres2highres.mat example_func2initial_highres.mat')
  109. os.system('flirt -ref highres -in example_func -out example_func2highres -applyxfm -init example_func2highres.mat -interp trilinear')
  110. os.system('convert_xfm -inverse -omat highres2example_func.mat example_func2highres.mat')
  111. os.system('slicer example_func2highres highres -s 2 -x 0.35 sla.png -x 0.45 slb.png -x 0.55 slc.png -x 0.65 sld.png -y 0.35 sle.png -y 0.45 slf.png -y 0.55 slg.png -y 0.65 slh.png -z 0.35 sli.png -z 0.45 slj.png -z 0.55 slk.png -z 0.65 sll.png ; /usr/local/fsl/bin/pngappend sla.png + slb.png + slc.png + sld.png + sle.png + slf.png + slg.png + slh.png + sli.png + slj.png + slk.png + sll.png example_func2highres1.png ; /usr/local/fsl/bin/slicer highres example_func2highres -s 2 -x 0.35 sla.png -x 0.45 slb.png -x 0.55 slc.png -x 0.65 sld.png -y 0.35 sle.png -y 0.45 slf.png -y 0.55 slg.png -y 0.65 slh.png -z 0.35 sli.png -z 0.45 slj.png -z 0.55 slk.png -z 0.65 sll.png ; /usr/local/fsl/bin/pngappend sla.png + slb.png + slc.png + sld.png + sle.png + slf.png + slg.png + slh.png + sli.png + slj.png + slk.png + sll.png example_func2highres2.png ; /usr/local/fsl/bin/pngappend example_func2highres1.png - example_func2highres2.png example_func2highres.png; /bin/rm -f sl?.png example_func2highres2.png')
  112. os.system('rm example_func2highres1.png')
  113. #example_func 2 standard
  114. os.system('convert_xfm -omat example_func2standard.mat -concat highres2standard.mat example_func2highres.mat')
  115. os.system('convertwarp --ref=standard --premat=example_func2highres.mat --warp1=highres2standard_warp --out=example_func2standard_warp')
  116. os.system('applywarp --ref=standard --in=example_func --out=example_func2standard --warp=example_func2standard_warp')
  117. os.system('convert_xfm -inverse -omat standard2example_func.mat example_func2standard.mat')
  118. os.system('slicer example_func2standard standard -s 2 -x 0.35 sla.png -x 0.45 slb.png -x 0.55 slc.png -x 0.65 sld.png -y 0.35 sle.png -y 0.45 slf.png -y 0.55 slg.png -y 0.65 slh.png -z 0.35 sli.png -z 0.45 slj.png -z 0.55 slk.png -z 0.65 sll.png ; /usr/local/fsl/bin/pngappend sla.png + slb.png + slc.png + sld.png + sle.png + slf.png + slg.png + slh.png + sli.png + slj.png + slk.png + sll.png example_func2standard1.png ; /usr/local/fsl/bin/slicer standard example_func2standard -s 2 -x 0.35 sla.png -x 0.45 slb.png -x 0.55 slc.png -x 0.65 sld.png -y 0.35 sle.png -y 0.45 slf.png -y 0.55 slg.png -y 0.65 slh.png -z 0.35 sli.png -z 0.45 slj.png -z 0.55 slk.png -z 0.65 sll.png ; /usr/local/fsl/bin/pngappend sla.png + slb.png + slc.png + sld.png + sle.png + slf.png + slg.png + slh.png + sli.png + slj.png + slk.png + sll.png example_func2standard2.png ; /usr/local/fsl/bin/pngappend example_func2standard1.png - example_func2standard2.png example_func2standard.png; /bin/rm -f sl?.png example_func2standard2.png')
  119. # %% [markdown]
  120. # # Plot registration results
  121. # %%
  122. %matplotlib inline
  123. %pylab inline
  124. #import matplotlib.pyplot as plt
  125. #import matplotlib.image as mpimg
  126. from IPython.display import display, Image
  127. import glob
  128. import os
  129. data_path = '/mnt/d/Data/Pigeon/analysis/ColorDisc/'
  130. reg_dir = glob.glob('%s/sub*/*/func/reg'%(data_path))
  131. for curr_img in reg_dir[14:15]:
  132. print(curr_img)
  133. #img = mpimg.imread(os.path.join(reg_dir, 'example_func2standard.png' ))
  134. #imgplot = plt.imshow(img)
  135. plt.show()
  136. display(Image(filename=os.path.join(curr_img, 'example_func2standard.png' )))
  137. # %% [markdown]
  138. # # Preprocessing
  139. # %%
  140. import glob
  141. import os
  142. import subprocess
  143. data_path = '/mnt/d/Data/Pigeon/analysis/ColorDisc/'
  144. func_dir = glob.glob('%s/sub*/*/func'%(data_path))
  145. MotionCorrection = True
  146. SliceTimeCorrection = True
  147. if SliceTimeCorrection:
  148. TR = 4 #second
  149. acquisitionType = 'odd'
  150. SpatialSmoothing = True
  151. if SpatialSmoothing:
  152. smooth = 8 #mm
  153. TemporalFiltering = True
  154. if TemporalFiltering:
  155. paradigm_hp = 80 #second
  156. for curr_bold in func_dir:
  157. print(curr_bold)
  158. # change directory to the reg
  159. os.chdir(curr_bold)
  160. #motion correction
  161. if MotionCorrection:
  162. print('motion correction is running ...')
  163. os.system("mcflirt -in prefiltered_func_data -out prefiltered_func_data_mcf -mats -plots -reffile example_func -rmsrel -rmsabs -spline_final")
  164. os.system("mkdir -p mc ; mv -f prefiltered_func_data_mcf.mat prefiltered_func_data_mcf.par prefiltered_func_data_mcf_abs.rms prefiltered_func_data_mcf_abs_mean.rms prefiltered_func_data_mcf_rel.rms prefiltered_func_data_mcf_rel_mean.rms mc")
  165. os.system("fsl_tsplot -i %s/prefiltered_func_data_mcf.par -t 'MCFLIRT estimated rotations (radians)' -u 1 --start=1 --finish=3 -a x,y,z -w 640 -h 144 -o %s/rot.png"%('mc','mc'))
  166. os.system("fsl_tsplot -i %s/prefiltered_func_data_mcf.par -t 'MCFLIRT estimated translations (mm)' -u 1 --start=4 --finish=6 -a x,y,z -w 640 -h 144 -o %s/trans.png"%('mc','mc'))
  167. os.system("fsl_tsplot -i %s/prefiltered_func_data_mcf_abs.rms,prefiltered_func_data_mcf_rel.rms -t 'MCFLIRT estimated mean displacement (mm)' -u 1 -w 640 -h 144 -a absolute,relative -o %s/disp.png"%('mc','mc'))
  168. else:
  169. print('no motion correction')
  170. os.system("fslmaths prefiltered_func_data prefiltered_func_data_mcf -odt float")
  171. #slice time correction
  172. if SliceTimeCorrection:
  173. print('slice time correction is running ...')
  174. os.system("slicetimer -i prefiltered_func_data_mcf --out=prefiltered_func_data_st -r %s --%s"%(TR,acquisitionType))
  175. os.system("fslmaths prefiltered_func_data_st -Tmean mean_func")
  176. else:
  177. print('no slice time correction')
  178. os.system("fslmaths prefiltered_func_data_mcf prefiltered_func_data_st -odt float")
  179. os.system("fslmaths prefiltered_func_data_st -Tmean mean_func")
  180. # brain extraction
  181. os.system("bet2 mean_func mask -f 0.3 -n -m; immv mask_mask mask")
  182. os.system("fslmaths prefiltered_func_data_st -mas mask prefiltered_func_data_bet")
  183. #spatial smootiong
  184. if SpatialSmoothing:
  185. print('spatial smooting is running ...')
  186. output = subprocess.check_output("fslstats prefiltered_func_data_bet -p 2 -p 98", shell=True).decode('utf-8')
  187. output_split = output.split()
  188. int2 = float(output_split[0])
  189. int98 = float(output_split[1])
  190. print(int2,int98)#0.000000 954.826904
  191. brain_thresh =10
  192. intensity_threshold = int2 + ( brain_thresh * ( int98 - int2 ) / 100.0)
  193. os.system("fslmaths prefiltered_func_data_bet -thr %s -Tmin -bin mask -odt char"%(intensity_threshold))
  194. median_intensity = subprocess.check_output("fslstats prefiltered_func_data_st -k mask -p 50", shell=True).decode('utf-8')
  195. median_intensity = float(median_intensity)
  196. print(median_intensity)#705.560059
  197. os.system("fslmaths mask -dilF mask")
  198. os.system("fslmaths prefiltered_func_data_st -mas mask prefiltered_func_data_thresh")
  199. os.system("fslmaths prefiltered_func_data_thresh -Tmean mean_func")
  200. susan_int = (median_intensity - int2) * 0.75
  201. smoothsigma = smooth / 2.355
  202. os.system("susan prefiltered_func_data_thresh %s %s 3 1 1 mean_func %s prefiltered_func_data_smooth"%(susan_int,smoothsigma,susan_int))
  203. else:
  204. print('no spatial smoothing')
  205. os.system("fslmaths prefiltered_func_data_bet prefiltered_func_data_smooth -odt float")
  206. #Normalization
  207. normmean = 10000
  208. scaling = normmean / median_intensity
  209. os.system("fslmaths prefiltered_func_data_smooth -mas mask prefiltered_func_data_smooth")
  210. os.system("fslmaths prefiltered_func_data_smooth -mul %s prefiltered_func_data_intnorm"%(scaling))
  211. # temporal filtering
  212. if TemporalFiltering:
  213. print('temporal filtering is running...')
  214. #highpass temporal filtering (Gaussian-weighted least-squares straight line fitting, with sigma=hp_sigma_sec)
  215. os.system("fslmaths prefiltered_func_data_intnorm -Tmean tempMean")
  216. hp_sigma_sec = paradigm_hp / 2.0
  217. hp_sigma_vol = hp_sigma_sec / TR
  218. lp_sigma_vol = -1
  219. # if you want to do lowpass filtering, you cn using these lines:
  220. #Gaussian lowpass temporal filtering, with sigma=lp_sigma_sec
  221. #lp_sigma_sec = 2.8
  222. #lp_sigma_vol = lp_sigma_sec / TR
  223. os.system("fslmaths prefiltered_func_data_intnorm -bptf %s %s -add tempMean prefiltered_func_data_tempfilt"%(hp_sigma_vol, lp_sigma_vol))
  224. os.system("imrm tempMean")
  225. os.system("fslmaths prefiltered_func_data_tempfilt filtered_func_data")
  226. else:
  227. print('no temporal filtering')
  228. os.system("fslmaths prefiltered_func_data_intnorm filtered_func_data -odt float")
  229. os.system("fslmaths filtered_func_data -Tmean mean_func")
  230. os.system("rm -rf prefiltered_func_data*")
  231. # %% [markdown]
  232. # # Plot Estimated Motion Parameters
  233. # %%
  234. %matplotlib inline
  235. %pylab inline
  236. #import matplotlib.pyplot as plt
  237. #import matplotlib.image as mpimg
  238. from IPython.display import display, Image
  239. import glob
  240. import os
  241. data_path = '/mnt/d/Data/Pigeon/analysis/ColorDisc/'
  242. func_dir = glob.glob('%s/sub*/*/func/mc'%(data_path))
  243. for mc_dir in func_dir:
  244. #print(reg_dir)
  245. #img = mpimg.imread(os.path.join(reg_dir, 'example_func2standard.png' ))
  246. #imgplot = plt.imshow(img)
  247. plt.show()
  248. display(Image(filename=os.path.join(mc_dir, 'rot.png' )))
  249. display(Image(filename=os.path.join(mc_dir, 'trans.png' )))
  250. # %%

6-PreProcessing.ipynb at commit d441d87, no license · at the source

Overview

Authors: Mehdi Behroozi1,2, Alaleh Sadraee1,3, Xavier Helluy1,4, Erhan Genç5, Meng Gao6, Onur Güntürkün1,7
  1. Department of Biopsychology, Faculty of Psychology, Institute of Cognitive Neuroscience, Ruhr University Bochum, Universitätsstraße 150, 44780 Bochum, Germany
  2. Cognitive Neurobiology, Research Center “One Health” Ruhr, Faculty of Biology and Biotechnology, University Alliance Ruhr, Ruhr-University Bochum, Universitätsstraße 150, 44801 Bochum, Germany
  3. International Graduate School of Neuroscience, Ruhr University Bochum, Bochum, Germany
  4. Department of Neurophysiology, Faculty of Medicine, Ruhr University Bochum, Universitätsstraße 150, 44780 Bochum, Germany
  5. Department of Psychology and Neuroscience, Leibniz Research Centre for Working Environment and Human Factors (IfADo), Ardeystraße 67, 44139 Dortmund, Germany
  6. Developmental Computational Psychiatry Lab, Department of Psychiatry and Psychotherapy, Faculty of Medicine, University Tübingen, Calwerstraße 14, 72076 Tübingen, Germany
  7. Research Center One Health Ruhr, Faculty of Psychology, University Research Alliance Ruhr, Ruhr University Bochum, Bochum, Germany
Journal: Scientific reports, volume 16, issue 1, article 16455
Dates: received 6 April 2025; accepted 20 May 2026; published online 27 May 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41598-026-54678-8 · PMID 42203897 · PMCID PMC13216286 · OpenAlex W7162486487
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: fMRI (modality), other (organism), cognitive (subfield)
Methods: Statistics, fMRI & imaging
Keywords: Bird, Prefrontal, Hippocampus, Go/NoGo Paradigm, Brain Asymmetry, Multiple Memory Systems, Neuroscience, Psychology
MeSH: Brain*, Columbidae*, Extinction, Psychological*, Learning*, Magnetic Resonance Imaging*, Animals, Brain Mapping, Conditioning, Operant, Nerve Net, Reward (* major topic)
Topic: Memory and Neural Mechanisms (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: Ruhr-Universität Bochum; European Research Council (101021354)
Citations: not cited yet (Europe PMC); 106 references in the paper

Abstract

Extinction learning is an important learning process that enables adaptive and flexible behavior. Human neuroimaging studies show that the neural basis of extinction learning consists of a neural network that includes the hippocampus, amygdala, and subcomponents of the prefrontal cortex, but also extends beyond them. The limitations of applying fMRI to actively participating animals have so far restricted the identification of the entire extinction network in non-human animals. Here, we present the first fMRI study of extinction in awake and actively participating pigeons, using a Go/NoGo operant paradigm with a water reward. Our study revealed an extensive and largely left hemispheric telencephalic network of sensory, limbic, executive, and motor areas that slowly ceased to be active during the process of extinction learning. We propose that the beginning of extinction ignites a neuronal updating of the associated consequences of own actions within a large telencephalic neural network until a new association is established which competes with the previously acquired operant response.

Supplementary Information: The online version contains supplementary material available at 10.1038/s41598-026-54678-8.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repository

Its files are read in the Code ↔ Paper reader above, with 3 matches between paragraphs and lines of code.

mehdibehroozi/pigeon_fMRI

License: none: the authors keep all their rights
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Commit: d441d87e9ed844028e6e327e6e0f86adad1f94ab, 14 August 2020
Languages: MATLAB (10), Jupyter (7)
Size: 20 files, 17 scripts
Software Heritage: not archived
Found in: “Data availability”
Holds: README, 7 notebooks
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: FSL (4 files), Statistics and Machine Learning Toolbox (3 files), Matplotlib (2 files), Nilearn (2 files), AFNI (1 file), ANTs (1 file), Curve Fitting Toolbox (1 file)
Availability: 1 check, the latest on 28 September 2026: the link answers
  • 28 September 2026: the link answers
18 files

The paper's code and data availability statement is in the Data section.

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 17 scripts, each with its path and the digest of its content;
  • 3 matches between paragraphs of the paper and lines of the code (method lexical-v1);
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

No dataset and no data link were found in the paper.

Data availability

Related data processing codes are available at https://github.com/mehdibehroozi/pigeon_fMRI.

Reproduced under the paper's license (CC BY), from the paper cited above.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 1, 28 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 6 authors, 8 keywords, 10 MeSH terms, 2 funders, 102 references.

Cite

This paper

Behroozi, M., Sadraee, A., Helluy, X., Genç, E., Gao, M., & Güntürkün, O. (2026). Neural correlates of appetitive extinction learning: an fMRI study with actively participating pigeons. Scientific reports, 16(1), 16455. https://doi.org/10.1038/s41598-026-54678-8

BibTeX

@article{behroozi2026neural,
author = {Behroozi, Mehdi and Sadraee, Alaleh and Helluy, Xavier and Genç, Erhan and Gao, Meng and Güntürkün, Onur},
title = {{Neural correlates of appetitive extinction learning: an fMRI study with actively participating pigeons}},
journal = {Scientific reports},
year = {2026},
month = may,
volume = {16},
number = {1},
pages = {16455},
publisher = {Nature Publishing Group},
issn = {2045-2322},
doi = {10.1038/s41598-026-54678-8},
url = {https://doi.org/10.1038/s41598-026-54678-8},
pmid = {42203897},
pmcid = {PMC13216286}
}

RIS

TY - JOUR
AU - Behroozi, Mehdi
AU - Sadraee, Alaleh
AU - Helluy, Xavier
AU - Genç, Erhan
AU - Gao, Meng
AU - Güntürkün, Onur
TI - Neural correlates of appetitive extinction learning: an fMRI study with actively participating pigeons
T2 - Scientific reports
J2 - Sci Rep
PY - 2026
DA - 2026/05/27
VL - 16
IS - 1
SP - 16455
SN - 2045-2322
PB - Nature Publishing Group
DO - 10.1038/s41598-026-54678-8
UR - https://doi.org/10.1038/s41598-026-54678-8
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41598-026-54678-8",
"type": "article-journal",
"title": "Neural correlates of appetitive extinction learning: an fMRI study with actively participating pigeons",
"container-title": "Scientific reports",
"author": [
{
"family": "Behroozi",
"given": "Mehdi"
},
{
"family": "Sadraee",
"given": "Alaleh"
},
{
"family": "Helluy",
"given": "Xavier"
},
{
"family": "Genç",
"given": "Erhan"
},
{
"family": "Gao",
"given": "Meng"
},
{
"family": "Güntürkün",
"given": "Onur"
}
],
"container-title-short": "Sci Rep",
"volume": "16",
"issue": "1",
"page": "16455",
"DOI": "10.1038/s41598-026-54678-8",
"PMID": "42203897",
"PMCID": "PMC13216286",
"ISSN": "2045-2322",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41598-026-54678-8",
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
27
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.1038/s41467-026-71830-0 [code]
Predicting individual differences of fear and cognitive learning and extinction.
Journal: Nature communications
In common: AFNI, ANTs, FSL, 1 other tool, cognitive, 4 references, author Onur Güntürkün
[2] doi:10.3389/fnagi.2026.1742371 [code]
Cross-sectional and longitudinal functional network alterations associated with subthreshold depressive symptoms in healthy older adults.
Journal: Frontiers in aging neuroscience
In common: AFNI, ANTs, FSL, 3 other tools, fMRI, 1 reference
[3] doi:10.1016/j.isci.2026.116903 [code]
Neurobiological and behavioral relevance of intrinsic functional connectome constraints on task-evoked neural activation.
Journal: iScience
In common: AFNI, ANTs, FSL, 3 other tools, fMRI, cognitive
[4] doi:10.1038/s41586-026-10631-3 [code]
A prognostic human brain network for diffuse midline glioma.
Journal: Nature
In common: Curve Fitting Toolbox, ANTs, FSL, 3 other tools, 1 reference
[5] doi:10.1093/braincomms/fcag134 [code]
Neurophysiological, imaging and neurobiological markers of central fatigue in multiple sclerosis.
Journal: Brain communications
In common: AFNI, ANTs, FSL, 3 other tools, 1 reference
[6] doi:10.24272/j.issn.2095-8137.2025.217
Multidimensional visual feature encoding and functional organization in the pigeon entopallium.
Journal: Zoological research
In common: other, 5 references
[7] doi:10.1016/j.neuroimage.2026.122171 [code]
A conserved node degree-based backbone and flexible hub organization of brain connectome during naturalistic movie watching.
Journal: NeuroImage
In common: AFNI, ANTs, FSL, 3 other tools, fMRI
[8] doi:10.1002/epi.70323 [code]
Individual-specific resting-state networks predict language dominance in drug-resistant epilepsy.
Journal: Epilepsia
In common: AFNI, ANTs, FSL, 3 other tools, fMRI
[9] doi:10.1038/s41467-026-73668-y [code]
Convergent and divergent brain-cognition development in early adolescence.
Journal: Nature communications
In common: AFNI, ANTs, FSL, 3 other tools, fMRI
[10] doi:10.1016/j.neuron.2026.04.011 [code]
Precision fMRI reveals densely interdigitated network patches with conserved motifs in the lateral prefrontal cortex.
Journal: Neuron
In common: AFNI, ANTs, FSL, 3 other tools, fMRI

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.

Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.