Modeling 2D spatio-tactile population receptive fields of the fingertip in human primary somatosensory cortex.
The 8 matches · 4 of them tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
- [1] § Methods › Preprocessing ↔ toolboxes/falkluesebrink/pRF/pRF_pipeline_nonlinear_BBR_01.sh, lines 138–190 · score 0.85 · largest component, masked functional template, morphologically closing, nearest neighbor, holes, BBR
- [2] § Methods › Preprocessing ↔ toolboxes/falkluesebrink/pRF/preproc_pRF.m, the whole file · a weak match · score 0.78 · bias field corrected, brain mask, high resolution, probabilistic, segmentation, Preprocessing
- [3] § Methods › Data analysis › Simulations › Implausibility ↔ toolboxes/ss_toolbox/ss_matlab/ss_samsrf/ss_samsrf_simprf.m, the whole file · a weak match · score 0.66 · random Gaussian noise, add noise, ground truth, dg, simulated, fitting
- [4] § Methods › Data analysis › Simulations › Meaningfulness ↔ toolboxes/ss_toolbox/ss_matlab/ss_samsrf/ss_samsrf_simprf.m, the whole file · a weak match · score 0.64 · random Gaussian noise, spatial tuning, onoff model, dg fix, simulated, fit
- [5] § Methods › Preprocessing ↔ toolboxes/falkluesebrink/pRF/pRF_pipeline_nonlinear_BBR_01.sh, lines 349–381 · score 0.60 · nearest neighbor, coregistration, unmasked, downsampled, bias, template
- [6] § Methods › Data analysis › PRF modeling ↔ toolboxes/falkluesebrink/pRF/pRF_pipeline_nonlinear_BBR_01.sh, lines 1–54 · score 0.59 · magnetic resonance imaging, population receptive field, pipeline, tactile, PRF
- [7] § Methods › Procedure ↔ toolboxes/ss_toolbox/ss_matlab/ss_zoomprf_main/ss_zoomprf_main_genapt_pins.m, the whole file · a weak match · score 0.58 · movement direction, perceive, scanner, edge, bar, pins
- [8] § Methods › Data analysis › PRF modeling ↔ toolboxes/ss_toolbox/ss_matlab/ss_samsrf/ss_samsrf_fit.m, lines 51–174 · score 0.53 · spatial tuning, onoff model, amplitude, dg fix, Gaussian, fit
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
Shell · 535 lines · 24 KB · CC0-1.0 · 3 matches
- #!/bin/bash
- # Pipeline for preprocessing cleaned, converted, and BIDS-standardized functional
- # and structural magnetic resonance imaging data acquired at 7T in the scope of
- # a tactile population receptive field (pRF) experiment.
- # ***************************************
- # Generated: 13.10.2022 (FL)
- # Last modified: 23.08.2024 (SS)
- # ***************************************
- # * Please define variables here
- # ***************************************
- # Define subject(s) to be processed
- sub="01 02 03"
- # Define kernels to be used
- FWHM="0 1"
- # Define sessions to be processed
- ses="01 02 03 04"
- # Specify path to data directory
- input_directory=/home/sstoll/projects/zoomprf_main/data
- # Specify paths to toolbox directories
- prf_directory=/home/sstoll/projects/toolboxes/postdoc-kuehn-tuebingen/falkluesebrink/pRF
- spm_directory=/home/sstoll/projects/toolboxes/postdoc-kuehn-tuebingen/spm12
- biascorr_directory=/home/sstoll/projects/toolboxes/postdoc-kuehn-tuebingen/falkluesebrink/biasCorrection
- # Projection fraction for surface projection of functional data with FreeSurfer
- projFrac=0.5
- # Maximum number of threads used for processing functional data using ANTs
- ants_threads_functional=16
- # ***************************************
- # * Software used
- # ***************************************
- ### For setting up the pipeline and initial validation
- # FreeSurfer: freesurfer-linux-ubuntu18_x86_64-7.3.2-20220804-6354275
- # ANTs: 2.3.5
- # MATLAB: 9.12.0.1884302 (R2022a)
- # SPM12: 7771 (for more details, see 'Custom scripts/files used')
- # Bash: 4.4.20(1)-release (x86_64-pc-linux-gnu)
- # Ubuntu: 18
- # biasCorrection: -/- (https://github.com/fluese/biasCorrection)
- #
- ### For finalizing the pipeline and final validation
- # FreeSurfer: freesurfer-linux-ubuntu22_x86_64-7.3.2-20220804-6354275
- # ANTs: 2.3.5.dev208-g6f137
- # MATLAB: 9.13.0.2193358 (R2022b) Update 5
- # SPM12: 7771 (for more details, see 'Custom scripts/files used')
- # Bash: 5.1.16(1)-release (x86_64-pc-linux-gnu)
- # Ubuntu: 22.04.2 LTS
- # biasCorrection: 1 parent 5447c4c commit d85f05f (https://github.com/fluese/biasCorrection)
- # ***************************************
- # * Custom scripts/files used
- # ***************************************
- # antsIntrasubjectAverage_NearestNeighbor.sh
- # antsRegistrationSyN_NearestNeighbor.sh
- # removeBiasfield_pRF.sh
- # preproc_pRF.m
- # ****************************************
- # biasCorrection.m
- # defjob.mat
- # spm_preproc_run_fl_standalone.m (changed based on SPM12: 6365)
- # spm_preproc_write8_fl_standalone.m (changed based on SPM12: 6137)
- # ***************************************
- # * Setup
- # ***************************************
- # Make sure that at least one thread is used, but no more than four. A template is to be generated from four files. Therefore, it can be parallized by a factor of four at max.
- ants_threads_anatomical=${ants_threads_functional}
- if (( ants_threads_anatomical > 4 )); then
- ants_threads_anatomical=4
- elif (( ants_threads_anatomical < 1 )); then
- ants_threads_anatomical=1
- fi
- # Make sure that at least one thread is used, but no more than eight. More than eight threads are said to not improve speed for FreeSurfer.
- freesurfer_threads=${ants_threads_functional}
- if (( freesurfer_threads > 8 )); then
- freesurfer_threads=8
- elif (( freesurfer_threads < 1 )); then
- freesurfer_threads=1
- fi
- subCounter=0
- for sub_ID in $sub; do
- echo "***************************************"
- echo "* Processing of subject ${sub_ID} started."
- echo "***************************************"
- # Set up variables for paths
- output_directory=${input_directory}/derivatives/sub-${sub_ID}/
- SUBJECTS_DIR=${input_directory}/derivatives/FreeSurfer/
- # Create folders
- for ses_ID in $ses; do
- mkdir -p ${output_directory}/ses-${ses_ID}/func/
- mkdir -p ${output_directory}/ses-${ses_ID}/anat/
- done
- mkdir -p ${output_directory}/ses-all/func/
- mkdir -p ${output_directory}/ses-all/anat/
- mkdir -p ${SUBJECTS_DIR}/
- # 4. Disassemble time series of each functional run, average, and mask it
- echo ""
- echo "***************************************"
- echo "* Disassemble time series of each functional run, average, and mask it"
- echo "***************************************"
- for ses_ID in $ses; do
- num_runs=$(find ${input_directory}/sub-${sub_ID}/ses-${ses_ID}/func/ -name "*run-*_bold.nii.gz" | wc -l)
- for run_ID in $( eval echo {01..${num_runs}} ); do
- if [ -f "${output_directory}/ses-${ses_ID}/func/sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold_mean_masked.nii.gz" ]; then
- echo "Average and mask for functional data of session ${ses_ID} and run ${run_ID} exist already. Skipping re-processing it."
- else
- # Dissemble time series of each functional run again... [Better way?]
- ImageMath 4 \
- ${input_directory}/sub-${sub_ID}/ses-${ses_ID}/func/sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold_disassemble.nii.gz \
- TimeSeriesDisassemble \
- ${input_directory}/sub-${sub_ID}/ses-${ses_ID}/func/sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold.nii.gz
- # Create average of each functional run
- AverageImages 3 \
- ${output_directory}/ses-${ses_ID}/func/sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold_mean.nii.gz \
- 0 \
- ${input_directory}/sub-${sub_ID}/ses-${ses_ID}/func/sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold_disassemble*.nii.gz
- # Remove dissembled time series of each functional run again
- rm -f ${input_directory}/sub-${sub_ID}/ses-${ses_ID}/func/sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold_disassemble*.nii.gz
- # Create brain mask of each functional average
- ThresholdImage 3 \
- ${output_directory}/ses-${ses_ID}/func/sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold_mean.nii.gz \
- ${output_directory}/ses-${ses_ID}/func/sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold_mean_brainmask.nii.gz \
- 700 100000
- # Get largest component of mask
- ImageMath 3 \
- ${output_directory}/ses-${ses_ID}/func/sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold_mean_brainmask.nii.gz \
- GetLargestComponent \
- ${output_directory}/ses-${ses_ID}/func/sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold_mean_brainmask.nii.gz
- # Morphologically close mask to fill holes
- ImageMath 3 \
- ${output_directory}/ses-${ses_ID}/func/sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold_mean_brainmask.nii.gz \
- MC \
- ${output_directory}/ses-${ses_ID}/func/sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold_mean_brainmask.nii.gz \
- 2
- # Mask each functional average
- ImageMath 3 \
- ${output_directory}/ses-${ses_ID}/func/sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold_mean_masked.nii.gz \
- m \
- ${output_directory}/ses-${ses_ID}/func/sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold_mean.nii.gz \
- ${output_directory}/ses-${ses_ID}/func/sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold_mean_brainmask.nii.gz
- fi
- done
- done
- # 5. Create unbiased template of all masked functional averages across sessions
- echo ""
- echo "***************************************"
- echo "* Create unbiased template of all masked functional averages across sessions"
- echo "***************************************"
- if [ -f "${output_directory}/ses-all/func/sub-${sub_ID}_ses-all_task-pRF_run-all_bold_mean_masked_template0.nii.gz" ]; then
- echo "Functional template of all masked functional averages across sessions exists already. Skipping re-processing it."
- else
- find ${output_directory}/ses-0*/ \
- -name "sub-${sub_ID}_ses-*_task-pRF_run-*_bold_mean_masked.nii.gz" \
- | sort > ${output_directory}/ses-all/func/sub-${sub_ID}_ses-all_task-pRF_run-all_paths.txt
- antsIntrasubjectAverage_NearestNeighbor.sh \
- -d 3 \
- -i 4 \
- -c 2 \
- -a 2 \
- -b 0 \
- -n 0 \
- -e 1 \
- -k 1 \
- -r 1 \
- -j ${ants_threads_functional} \
- -f 8x4x2x1 \
- -s 4x2x1x0 \
- -q 1000x1000x500x250 \
- -t Rigid \
- -o ${output_directory}/ses-all/func/sub-${sub_ID}_ses-all_task-pRF_run-all_bold_mean_masked_ \
- ${output_directory}/ses-all/func/sub-${sub_ID}_ses-all_task-pRF_run-all_paths.txt
- fi
- # 6. Resample structural data to the resolution of functional data
- echo ""
- echo "***************************************"
- echo "* Resample structural data to the resolution of functional data"
- echo "***************************************"
- for ses_ID in $ses; do
- if [ -f "${output_directory}/ses-${ses_ID}/anat/sub-${sub_ID}_ses-${ses_ID}_T1w_downsampled.nii.gz" ]; then
- echo "Structural data of session ${ses_ID} already resampled. Skipping re-processing it."
- else
- # Get resolution of functional data
- voxel_sizes=$(mri_info ${input_directory}/sub-${sub_ID}/ses-${ses_ID}/func/sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-01_bold.nii.gz | grep "voxel sizes")
- # res: col (x), row (y), slice (z) and frame resolution
- read x y z <<< $(awk -F'[:,]' '{print $2, $3, $4}' <<< "$voxel_sizes")
- # Resample
- mri_convert \
- -rt cubic \
- -vs $x $y $z \
- -i ${input_directory}/sub-${sub_ID}/ses-${ses_ID}/anat/sub-${sub_ID}_ses-${ses_ID}_T1w.nii.gz \
- -o ${output_directory}/ses-${ses_ID}/anat/sub-${sub_ID}_ses-${ses_ID}_T1w_downsampled.nii.gz
- # -vs, --voxsize <size_x> <size_y> <size_z>
- fi
- done
- # 7. Bias-correct structural data
- echo ""
- echo "***************************************"
- echo "* Bias-correct structural data"
- echo "***************************************"
- for ses_ID in $ses; do
- if [ -f "${output_directory}/ses-${ses_ID}/anat/sub-${sub_ID}_ses-${ses_ID}_T1w_downsampled_biasCorrected.nii.gz" ]; then
- echo "Structural data of session ${ses_ID} already bias-corrected. Skipping re-processing it."
- else
- removeBiasfield_pRF.sh ${output_directory}/ses-${ses_ID}/anat/sub-${sub_ID}_ses-${ses_ID}_T1w_downsampled.nii.gz ${prf_directory} ${spm_directory} ${biascorr_directory}
- fi
- done
- # 8. Mask structural data
- echo ""
- echo "***************************************"
- echo "* Mask structural data"
- echo "***************************************"
- for ses_ID in $ses; do
- if [ -f "${output_directory}/ses-${ses_ID}/anat/sub-${sub_ID}_ses-${ses_ID}_T1w_downsampled_biasCorrected_masked.nii.gz" ]; then
- echo "Structural data of session ${ses_ID} already masked. Skipping re-processing it."
- else
- mri_synthstrip \
- -i ${output_directory}/ses-${ses_ID}/anat/sub-${sub_ID}_ses-${ses_ID}_T1w_downsampled_biasCorrected.nii.gz \
- -o ${output_directory}/ses-${ses_ID}/anat/sub-${sub_ID}_ses-${ses_ID}_T1w_downsampled_biasCorrected_masked.nii.gz \
- -b 1 #\
- #--no-csf
- fi
- done
- # 9. Create unbiased template of all masked structural data across sessions
- echo ""
- echo "***************************************"
- echo "* Create unbiased template of all masked structural data across sessions"
- echo "***************************************"
- if [ -f "${output_directory}/ses-all/anat/sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_masked_template0.nii.gz" ]; then
- echo "Structural template of all masked structural data across sessions exists already. Skipping re-processing it."
- else
- antsIntrasubjectAverage_NearestNeighbor.sh \
- -d 3 \
- -i 4 \
- -c 2 \
- -g 0.1 \
- -e 1 \
- -k 1 \
- -a 2 \
- -b 0 \
- -n 0 \
- -r 1 \
- -j ${ants_threads_anatomical} \
- -f 8x4x2x1 \
- -s 4x2x1x0 \
- -q 1000x1000x500x250 \
- -t Rigid \
- -o ${output_directory}/ses-all/anat/sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_masked_ \
- ${output_directory}/ses-0[1-4]/anat/*biasCorrected_masked.nii.gz
- fi
- # 10. Apply transformations for generating masked structural template to UNMASKED structural data
- echo ""
- echo "***************************************"
- echo "* Apply transformations for generating masked structural template to UNMASKED structural data"
- echo "***************************************"
- counter=0
- for ses_ID in $ses; do
- if [ -f "${output_directory}/ses-all/anat/sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_template0.nii.gz" ]; then
- echo "Transformations to UNMASKED structural data of session ${ses_ID} already applied. Skipping re-processing it."
- else
- antsApplyTransforms \
- -d 3 \
- -e 0 \
- -v 1 \
- -n NearestNeighbor \
- --float \
- -r ${output_directory}/ses-all/anat/sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_masked_template0.nii.gz \
- -t ${output_directory}/ses-all/anat/sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_masked_sub-${sub_ID}_ses-${ses_ID}_T1w_downsampled_biasCorrected_masked${counter}0GenericAffine.mat \
- -i ${output_directory}/ses-${ses_ID}/anat/sub-${sub_ID}_ses-${ses_ID}_T1w_downsampled_biasCorrected.nii.gz \
- -o ${output_directory}/ses-${ses_ID}/anat/sub-${sub_ID}_ses-${ses_ID}_T1w_downsampled_biasCorrected_Warped.nii.gz
- counter=$((counter+1))
- fi
- done
- # 11. Create unbiased template of all UNMASKED structural data across sessions
- echo ""
- echo "***************************************"
- echo "* Create unbiased template of all UNMASKED structural data across sessions"
- echo "***************************************"
- if [ -f "${output_directory}/ses-all/anat/sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_template0.nii.gz" ]; then
- echo "Structural template of all UNMASKED structural data acrosss sessions exists already. Skipping re-processing it."
- else
- ls ${output_directory}/ses-0[1-4]/anat/sub-${sub_ID}_ses-0[1-4]_T1w_downsampled_biasCorrected_Warped.nii.gz > \
- ${output_directory}/ses-all/anat/sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_Warped_paths.txt
- ImageSetStatistics 3 \
- ${output_directory}/ses-all/anat/sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_Warped_paths.txt \
- ${output_directory}/ses-all/anat/sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_template0.nii.gz \
- 0
- fi
- # 12. Mask UNMASKED structural template
- echo ""
- echo "***************************************"
- echo "* Mask UNMASKED structural template"
- echo "***************************************"
- if [ -f "${output_directory}/ses-all/anat/sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_template0_masked.nii.gz" ]; then
- echo "UNMASKED structural template already masked. Skipping re-processing it."
- else
- mri_synthstrip \
- -i ${output_directory}/ses-all/anat/sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_template0.nii.gz \
- -o ${output_directory}/ses-all/anat/sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_template0_masked.nii.gz \
- -b 1 #\
- #--no-csf
- fi
- # 13. Register novel masked structural template to masked functional template
- echo ""
- echo "***************************************"
- echo "* Register novel masked structural template to masked functional template"
- echo "***************************************"
- # This yields better results than the other way round. The inverse transformation will be used in stage 14 as it yields the information to transform the functional template data into the space of the structural template data.
- if [ -f "${output_directory}/ses-all/anat/sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_template0_masked_registered_to_sub-${sub_ID}_ses-all_task-pRF_run-all_bold_mean_masked_template0_0GenericAffine.mat" ]; then
- echo "Novel masked structural template already registered to masked functional template. Skipping re-processing it."
- else
- antsRegistrationSyN_NearestNeighbor.sh \
- -d 3 \
- -t r \
- -n ${ants_threads_functional} \
- -f ${output_directory}/ses-all/func/sub-${sub_ID}_ses-all_task-pRF_run-all_bold_mean_masked_template0.nii.gz \
- -m ${output_directory}/ses-all/anat/sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_template0_masked.nii.gz \
- -o ${output_directory}/ses-all/anat/sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_template0_masked_registered_to_sub-${sub_ID}_ses-all_task-pRF_run-all_bold_mean_masked_template0_
- fi
- # 14. Coarse function-to-structure coregistration: Apply forward transformations for generating masked functional template and inversetransformations for coregistering masked structural and masked functional template to each unmasked functional run.
- # Thus, each unmasked functional image (from each run and session) will be warped into the space of the masked structural template.
- echo ""
- echo "***************************************"
- echo "* Coarse function-to-structure coregistration of each unmasked functional run by applying"
- echo "* forward transformations for generating masked functional template and"
- echo "* inverse transformations for coregistering novel masked structural template and masked functional template"
- echo "***************************************"
- counter=0
- for ses_ID in $ses; do
- num_runs=$(find ${input_directory}/sub-${sub_ID}/ses-${ses_ID}/func/ -name "*ses-${ses_ID}*run-*_bold.nii.gz" \
- | wc -l)
- for run_ID in $( eval echo {01..${num_runs}} ); do
- if [ -f "${output_directory}/ses-${ses_ID}/func/sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold_registered_to_sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_template0.nii.gz" ]; then
- echo "Foward and inverse transformations to unmasked functional data of session ${ses_ID} and run ${run_ID} already applied. Skipping re-processing it."
- else
- antsApplyTransforms \
- -d 3 \
- -e 3 \
- -n NearestNeighbor \
- --float 1 \
- --verbose 1 \
- -r ${output_directory}/ses-all/anat/sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_template0.nii.gz \
- -t [${output_directory}/ses-all/anat/sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_template0_masked_registered_to_sub-${sub_ID}_ses-all_task-pRF_run-all_bold_mean_masked_template0_0GenericAffine.mat,1] \
- -t ${output_directory}/ses-all/func/sub-${sub_ID}_ses-all_task-pRF_run-all_bold_mean_masked_sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold_mean_masked${counter}0GenericAffine.mat \
- -i ${input_directory}/sub-${sub_ID}/ses-${ses_ID}/func/sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold.nii.gz \
- -o ${output_directory}/ses-${ses_ID}/func/sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold_registered_to_sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_template0.nii.gz
- # Note that we skip the affix "masked" here entirely to wipe the slate clean and omit potential confusion when output images are masked again.
- fi
- counter=$((counter+1))
- done
- done
- # 15. Run recon-all on unmasked structural template
- echo ""
- echo "***************************************"
- echo "* Run recon-all on unmasked structural template"
- echo "***************************************"
- if [ -f "${SUBJECTS_DIR}/sub-${sub_ID}/mri/aseg.mgz" ]; then
- echo "Recon-all finished already. Skipping re-processing it."
- else
- echo ""
- echo "***************************************"
- echo "* Run autorecon 1"
- echo "***************************************"
- if [ -f "${SUBJECTS_DIR}/sub-${sub_ID}/mri/brainmask.mgz" ]; then
- echo "Autorecon 1 completed already. Skipping re-processing it."
- echo ""
- else
- if [ -d "${SUBJECTS_DIR}/sub-${sub_ID}/" ]; then
- echo "Subject folder exists already."
- recon-all \
- -autorecon1 \
- -hires \
- -threads ${freesurfer_threads} \
- -parallel \
- -s sub-${sub_ID}
- else
- recon-all \
- -autorecon1 \
- -hires \
- -threads ${freesurfer_threads} \
- -parallel \
- -i ${output_directory}/ses-all/anat/sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_template0.nii.gz \
- -s sub-${sub_ID}
- fi
- fi
- echo ""
- echo "***************************************"
- echo "* Create brainmask.mgz"
- echo "***************************************"
- if [ -f "${SUBJECTS_DIR}/sub-${sub_ID}/mri/brainmask.synthstrip.mgz" ]; then
- echo "Brainmask created already. Skipping re-processing it."
- echo ""
- else
- # A backup of the original brainmask can be found here: /mri/brainmask.auto.mgz
- mri_synthstrip \
- -i ${SUBJECTS_DIR}/sub-${sub_ID}/mri/T1.mgz \
- -o ${SUBJECTS_DIR}/sub-${sub_ID}/mri/brainmask.synthstrip.mgz \
- -b 1 \
- --no-csf
- cp \
- ${SUBJECTS_DIR}/sub-${sub_ID}/mri/brainmask.synthstrip.mgz \
- ${SUBJECTS_DIR}/sub-${sub_ID}/mri/brainmask.mgz
- fi
- echo ""
- echo "***************************************"
- echo "* Run autorecon 2+3"
- echo "***************************************"
- # [It seems odd, but careg is not part of autorecon2? This may be a bug and should be reported potentially.]
- recon-all \
- -autorecon2 \
- -autorecon3 \
- -careg \
- -no-isrunning \
- -hires \
- -threads ${freesurfer_threads} \
- -parallel \
- -s sub-${sub_ID}
- fi
- # 16. Fine function-to-structure coregistration of each coarsely-registered functional runs via boundary-based registration and surface projection
- # Create folder for surface projection
- vol2surf=${SUBJECTS_DIR}/sub-${sub_ID}/vol2surf/
- mkdir -p ${vol2surf}
- echo ""
- echo "***************************************"
- echo "* Fine function-to-structure coregistration of each coarsely-registered functional run"
- echo "* via boundary-based registration, followed by surface projection"
- echo "***************************************"
- for ses_ID in $ses; do
- num_runs=$(find ${output_directory}/ses-${ses_ID}/func/ -name "*run-*_bold_mean.nii.gz" | wc -l)
- for run_ID in $( eval echo {01..${num_runs}} ); do
- # Fine coregistration via boundary-based segmentation
- if [ -f ${vol2surf}/sub-${sub_ID}_ses-${ses_ID}_run-${run_ID}.lta ]; then
- echo ""
- echo "Fine coregistration of coarsely-registered functional data for session ${ses_ID} and run ${run_ID} exists already. Skipping re-processing it."
- else
- bbregister \
- --s sub-${sub_ID} \
- --mov ${output_directory}/ses-${ses_ID}/func/sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold_registered_to_sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_template0.nii.gz \
- --init-header \
- --bold \
- --nearest \
- --reg ${vol2surf}/sub-${sub_ID}_ses-${ses_ID}_run-${run_ID}.lta
- fi
- # Surface projection
- for hemi in lh rh; do
- for FWHM_ID in $FWHM; do
- if [ -f "${vol2surf}/${hemi}_sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold_registered_to_sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_template0_FWHM-${FWHM_ID//./p}_BBR.mgh" ]; then
- if [[ ${hemi} == lh ]]; then
- echo "Surface projection of left hemisphere of finely-registered functional data for session ${ses_ID} and run ${run_ID} using a FWHM of ${FWHM_ID} exists already. Skipping re-processing it."
- elif [[ ${hemi} == rh ]]; then
- echo "Surface projection of right hemisphere of finely-registered functional data for session ${ses_ID} and run ${run_ID} using a FWHM of ${FWHM_ID} exists already. Skipping re-processing it."
- fi
- else
- mri_vol2surf \
- --mov ${output_directory}/ses-${ses_ID}/func/sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold_registered_to_sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_template0.nii.gz \
- --reg ${vol2surf}/sub-${sub_ID}_ses-${ses_ID}_run-${run_ID}.lta \
- --hemi ${hemi} \
- --o ${vol2surf}/${hemi}_sub-${sub_ID}_ses-${ses_ID}_task-pRF_run-${run_ID}_bold_registered_to_sub-${sub_ID}_ses-all_T1w_downsampled_biasCorrected_template0_FWHM-${FWHM_ID//./p}_BBR.mgh \
- --projfrac ${projFrac} \
- --surf-fwhm ${FWHM_ID}
- fi
- done
- done
- done
- done
- # 17. Atlas generation
- # Create folder for atlas
- atlas=${SUBJECTS_DIR}/sub-${sub_ID}/atlas/
- mkdir -p ${atlas}
- # Generate atlas using rh.aparc.annot and lh.aparc.annot (defaults)
- echo ""
- echo "***************************************"
- echo "* Generation of atlas"
- echo "***************************************"
- for hemi in lh rh; do
- if [ -f "${atlas}/${hemi}.postcentral.label" ]; then
- if [[ ${hemi} == lh ]]; then
- echo "Atlas generation for left hemisphere done already. Skipping re-processing it."
- elif [[ ${hemi} == rh ]]; then
- echo "Atlas generation for right hemisphere done already. Skipping re-processing it."
- fi
- else
- mri_annotation2label --subject sub-${sub_ID} --hemi ${hemi} --outdir ${atlas}
- fi
- done
- echo ""
- echo "***************************************"
- echo "* Processing of subject ${sub_ID} finished successfully."
- echo "***************************************"
- subCounter=$((subCounter+1))
- done
pRF_pipeline_nonlinear_BBR_01.sh at commit f90e9b5, under CC0-1.0 · at the source
Overview
- Hertie Institute for Clinical Brain Research, Tuebingen, Germany
- Institute for Cognitive Neurology and Dementia Research, Otto-von-Guericke University Magdeburg, Germany
- German Center for Neurodegenerative Diseases, Magdeburg, Germany
- Max Planck Institute for Biological Cybernetics, Tuebingen, Germany
- German Center for Neurodegenerative Diseases, Tuebingen, Germany
- Biomedical Magnetic Resonance, Otto-von-Guericke-University Magdeburg, Germany
- Nuclear Magnetic Resonance Methods & Development Group, Max Planck Institute for Human Cognitive and Brain Sciences, Leipzig, Germany
- School of Optometry and Vision Science, The University of Auckland, New Zealand
- Experimental Psychology, University College London, United Kingdom
- Center for Behavioral Brain Sciences, Magdeburg, Germany
Abstract
Tactile fingertip sensations are critical for everyday life. Accordingly, tactile fingertip maps have been extensively studied in human primary somatosensory cortex. However, the fine-grained functional architecture of these maps remains largely unknown. To uncover this architecture, we sought to estimate 2D spatio-tactile population receptive fields (pRFs) of the tip of the index finger in human Brodmann area 3b (BA3b). Using functional magnetic resonance imaging at 7T and submillimeter resolution along with prospective motion correction, we recorded brain responses while participants sensed a row of vibrotactile pins sweeping along cardinal axes over a portion of the fingertip. To estimate pRF position and size, we initially fit a 2D Gaussian pRF model to the data, which, however, produced largely implausible pRF estimates. Simulations indicated that this likely occurred because the size of pRFs in BA3b surpasses the portion of the fingertip we stimulated, resulting in an incomplete mapping of pRFs. To address this issue, we constrained the fitting procedure and refined the 2D Gaussian pRF model by keeping pRF size constant. Our results for pRF position then revealed that the ulnar-to-radial axis spanning the fingertip maps onto a superior-to-inferior axis in BA3b. Both the putatively large pRF size (relative to the mapping area) and the pRF position gradient we uncover here appear compatible with receptive field properties quantified in monkeys. Our study provides the first comprehensive investigation into the fine-grained functional architecture of human fingertip maps and brings us one step closer to a thorough understanding thereof.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 8 matches between paragraphs and lines of code.
Kriaese/manuscript-zoomprf
f90e9b5c4fc3e825d98ed8c9097b072f73a77497, 28 May 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
128 files
- scripts/
prfmodeling/ — MATLAB, 89 lines00_changedefs/ ss_zoomprf_main_changede fs_master.m - scripts/
prfmodeling/ — MATLAB, 118 lines01_mgh2srf/ ss_zoomprf_main_mgh2srf_ master.m - scripts/
prfmodeling/ — MATLAB, 115 lines02_glm/ ss_zoomprf_main_glm_mast er.m - scripts/
prfmodeling/ — MATLAB, 149 lines04_dispmaps_glm_maskanat / ss_zoomprf_main_dispmaps _glm_maskanat_master.m - scripts/
prfmodeling/ — MATLAB, 149 lines05_dispmaps_glm/ ss_zoomprf_main_dispmaps _glm_master.m - scripts/
prfmodeling/ — MATLAB, 106 lines06_genapt/ ss_zoomprf_main_genapt_m aster.m - scripts/
prfmodeling/ — MATLAB, 119 lines07_fit_failure/ ss_zoomprf_main_fit_fail ure_master.m - scripts/
prfmodeling/ — MATLAB, 119 lines08_fit/ ss_zoomprf_main_fit_mast er.m - scripts/
prfmodeling/ — MATLAB, 111 lines09_calcar2diff/ ss_zoomprf_main_calcar2d iff_master.m - scripts/
prfmodeling/ — MATLAB, 112 lines10_calccr2/ ss_zoomprf_main_calccr2_ master.m - scripts/
prfmodeling/ — MATLAB, 112 lines11_calccr2diff/ ss_zoomprf_main_calccr2d iff_master.m - scripts/
prfmodeling/ — MATLAB, 162 lines12_dispmaps_fits_maskana t/ ss_zoomprf_main_dispmaps _fits_maskanat_master.m - scripts/
prfmodeling/ — MATLAB, 156 lines13_dispmaps_cr2cr2diff_2 dg-fix_maskanat/ ss_zoomprf_main_dispmaps _cr2cr2diff_2dgfix_maska nat_master.m - scripts/
prfmodeling/ — MATLAB, 153 lines14_dispmaps_cr2_onoff_ma skanat/ ss_zoomprf_main_dispmaps _cr2_onoff_maskanat_mast er.m - scripts/
prfmodeling/ — MATLAB, 112 lines15_calccsnr/ ss_zoomprf_main_calccsnr _master.m - scripts/
prfmodeling/ — MATLAB, 114 lines16_calccsnrcr2sum/ ss_zoomprf_main_calccsnr cr2sum_master.m - scripts/
prfmodeling/ — MATLAB, 128 lines17_sim_2dg_prfsize/ ss_zoomprf_main_sim_2dg_ prfsize_master.m - scripts/
prfmodeling/ — MATLAB, 128 lines18_sim_2dg_prfsize_fit/ ss_zoomprf_main_sim_2dg_ prfsize_fit_master.m - scripts/
prfmodeling/ — MATLAB, 108 lines19_sim_2dg_prfsize_calcs umstats/ ss_zoomprf_main_sim_2dg_ prfsize_calcsumstats_mas ter.m - scripts/
prfmodeling/ — MATLAB, 134 lines20_sim_2dg_prfsize_disps umstats/ ss_zoomprf_main_sim_2dg_ prfsize_dispsumstats_mas ter.m - scripts/
prfmodeling/ — MATLAB, 115 lines21_sim_2dg_prfsize_dispt c/ ss_zoomprf_main_sim_2dg_ prfsize_disptc.m - scripts/
prfmodeling/ — MATLAB, 153 lines22_sim_2dg-fix_acc/ ss_zoomprf_main_sim_2dgf ix_acc_master.m - scripts/
prfmodeling/ — MATLAB, 128 lines23_sim_2dg-fix_acc_fit/ ss_zoomprf_main_sim_2dgf ix_acc_fit_master.m - scripts/
prfmodeling/ — MATLAB, 106 lines24_sim_2dg-fix_acc_getco unt/ ss_zoomprf_main_sim_2dgf ix_acc_getcount_master.m - scripts/
prfmodeling/ — MATLAB, 124 lines25_sim_2dg-fix_acc_dispg rid/ ss_zoomprf_main_sim_2dgf ix_acc_dispgrid_master.m - scripts/
prfmodeling/ — MATLAB, 125 lines26_sim_2dg-fix_acc_dispg rid_recov/ ss_zoomprf_main_sim_2dgf ix_acc_dispgrid_recov_ma ster.m - scripts/
prfmodeling/ — MATLAB, 127 lines27_sim_2dg-fix_acc_dispc ount_recov/ ss_zoomprf_main_sim_2dgf ix_acc_dispcount_recov_m aster.m - scripts/
prfmodeling/ — MATLAB, 115 lines28_sim_2dg-fix_acc_calcc snr/ ss_zoomprf_main_sim_2dgf ix_acc_calccsnr_master.m - scripts/
prfmodeling/ — MATLAB, 112 lines29_sim_2dg-fix_acc_calcc r2/ ss_zoomprf_main_sim_2dgf ix_acc_calccr2_master.m - scripts/
prfmodeling/ — MATLAB, 106 lines30_sim_2dg-fix_acc_calcc snrcr2sum/ ss_zoomprf_main_sim_2dgf ix_acc_calccsnrcr2sum_ma ster.m - scripts/
prfmodeling/ — MATLAB, 127 lines31_sim_onoff_gof/ ss_zoomprf_main_sim_onof f_gof_master.m - scripts/
prfmodeling/ — MATLAB, 128 lines32_sim_onoff_gof_fit/ ss_zoomprf_main_sim_onof f_gof_fit_master.m - scripts/
prfmodeling/ — MATLAB, 111 lines33_sim_onoff_gof_calcar2 diff/ ss_zoomprf_main_sim_onof f_gof_calcar2diff_master .m - scripts/
prfmodeling/ — MATLAB, 113 lines34_sim_onoff_gof_calccr2 / ss_zoomprf_main_sim_onof f_gof_calccr2_master.m - scripts/
prfmodeling/ — MATLAB, 110 lines35_sim_onoff_gof_calccr2 diff/ ss_zoomprf_main_sim_onof f_gof_calccr2diff_master .m - scripts/
prfmodeling/ — MATLAB, 107 lines36_sim_onoff_gof_calcpva l/ ss_zoomprf_main_sim_onof f_gof_calcpval_master.m - scripts/
prfmodeling/ — MATLAB, 119 lines37_sim_onoff_gof_disppva l/ ss_zoomprf_main_sim_onof f_gof_disppval_master.m - scripts/
prfmodeling/ — MATLAB, 117 lines38_sim_onoff_gof_calccsn r/ ss_zoomprf_main_sim_onof f_gof_calccsnr_master.m - scripts/
prfmodeling/ — MATLAB, 107 lines39_sim_onoff_gof_calccsn rcr2sum/ ss_zoomprf_main_sim_onof f_gof_calccsnrcr2sum_mas ter.m - scripts/
prfmodeling/ — MATLAB, 92 lines40_dispcolormaps/ ss_zoomprf_main_dispcolo rmaps_master.m - scripts/
prfmodeling/ — MATLAB, 98 lines41_disp2dgprf/ ss_zoomprf_main_disp2dgp rf_master.m - scripts/
prfmodeling/ — MATLAB, 91 lines42_dispsine/ ss_zoomprf_main_dispsine _master.m - scripts/
prfmodeling/ — MATLAB, 113 lines43_calccr2diffsum/ ss_zoomprf_main_calccr2d iffsum_master.m - scripts/
prfmodeling/ — MATLAB, 113 lines44_calcsumstats_failure/ ss_zoomprf_main_calcsums tats_failure_master.m - scripts/
prfmodeling/ — MATLAB, 113 lines45_dispprfworkflow/ ss_zoomprf_main_dispprfw orkflow_master.m - scripts/
prfmodeling/ — MATLAB, 109 lines46_drawvtx/ ss_zoomprf_main_drawvtx_ master.m - scripts/
prfmodeling/ — MATLAB, 151 lines47_dispmaps_fits_maskfun canat/ ss_zoomprf_main_dispmaps _fits_maskfuncanat_maste r.m - scripts/
prfmodeling/ — MATLAB, 131 lines48_disptc_obsvsfit/ ss_zoomprf_main_disptc_o bsvsfit_master.m - scripts/
prfmodeling/ — MATLAB, 151 lines49_dispmaps_nc/ ss_zoomprf_main_dispmaps _nc_master.m - toolboxes/
falkluesebrink/ — Shell, 1,609 linespRF/ antsIntrasubjectAverage_ NearestNeighbor.sh - toolboxes/
falkluesebrink/ — Shell, 689 linespRF/ antsRegistrationSyN_Near estNeighbor.sh - toolboxes/
falkluesebrink/ — Shell, 535 lines, 3 matchespRF/ pRF_pipeline_nonlinear_B BR_01.sh - toolboxes/
falkluesebrink/ — MATLAB, 100 lines, 1 matchpRF/ preproc_pRF.m - toolboxes/
falkluesebrink/ — Shell, 20 linespRF/ removeBiasfield_pRF.sh - toolboxes/
ss_toolbox/ — MATLAB, 46 linesss_matlab/ ss_crameri/ ss_crameri_cmap.m - toolboxes/
ss_toolbox/ — MATLAB, 23 linesss_matlab/ ss_general/ ss_arraynum2str.m - toolboxes/
ss_toolbox/ — MATLAB, 43 linesss_matlab/ ss_general/ ss_checkfld.m - toolboxes/
ss_toolbox/ — MATLAB, 46 linesss_matlab/ ss_general/ ss_drawcircle.m - toolboxes/
ss_toolbox/ — MATLAB, 24 linesss_matlab/ ss_general/ ss_drawrect.m - toolboxes/
ss_toolbox/ — MATLAB, 31 linesss_matlab/ ss_general/ ss_exportgraphics.m - toolboxes/
ss_toolbox/ — MATLAB, 38 linesss_matlab/ ss_general/ ss_inellipse.m - toolboxes/
ss_toolbox/ — MATLAB, 26 linesss_matlab/ ss_general/ ss_parallel_gcp.m - toolboxes/
ss_toolbox/ — MATLAB, 26 linesss_matlab/ ss_general/ ss_parallel_shutdowngcp. m - toolboxes/
ss_toolbox/ — MATLAB, 52 linesss_matlab/ ss_general/ ss_renamefile.m - toolboxes/
ss_toolbox/ — MATLAB, 35 linesss_matlab/ ss_general/ ss_reswin.m - toolboxes/
ss_toolbox/ — MATLAB, 54 linesss_matlab/ ss_img/ ss_img_oval.m - toolboxes/
ss_toolbox/ — MATLAB, 48 linesss_matlab/ ss_samsrf/ ss_samsrf_calcar2.m - toolboxes/
ss_toolbox/ — MATLAB, 36 linesss_matlab/ ss_samsrf/ ss_samsrf_calcaspectrati o.m - toolboxes/
ss_toolbox/ — MATLAB, 79 linesss_matlab/ ss_samsrf/ ss_samsrf_calccr2diffsum .m - toolboxes/
ss_toolbox/ — MATLAB, 61 linesss_matlab/ ss_samsrf/ ss_samsrf_calccsnrcr2sum .m - toolboxes/
ss_toolbox/ — MATLAB, 29 linesss_matlab/ ss_samsrf/ ss_samsrf_calcfwhm.m - toolboxes/
ss_toolbox/ — MATLAB, 92 linesss_matlab/ ss_samsrf/ ss_samsrf_calcr2diff.m - toolboxes/
ss_toolbox/ — MATLAB, 107 linesss_matlab/ ss_samsrf/ ss_samsrf_calcsumstat.m - toolboxes/
ss_toolbox/ — MATLAB, 50 linesss_matlab/ ss_samsrf/ ss_samsrf_changeanapath. m - toolboxes/
ss_toolbox/ — MATLAB, 52 linesss_matlab/ ss_samsrf/ ss_samsrf_changedef.m - toolboxes/
ss_toolbox/ — MATLAB, 80 linesss_matlab/ ss_samsrf/ ss_samsrf_crossvalr2.m - toolboxes/
ss_toolbox/ — MATLAB, 82 linesss_matlab/ ss_samsrf/ ss_samsrf_crossvalsnr.m - toolboxes/
ss_toolbox/ — MATLAB, 52 linesss_matlab/ ss_samsrf/ ss_samsrf_disp2dgprf.m - toolboxes/
ss_toolbox/ — MATLAB, 94 linesss_matlab/ ss_samsrf/ ss_samsrf_dispprf2dapt.m - toolboxes/
ss_toolbox/ — MATLAB, 214 linesss_matlab/ ss_samsrf/ ss_samsrf_disptc_obsvsfi t.m - toolboxes/
ss_toolbox/ — MATLAB, 122 linesss_matlab/ ss_samsrf/ ss_samsrf_disptc_sim.m - toolboxes/
ss_toolbox/ — MATLAB, 319 lines, 1 matchss_matlab/ ss_samsrf/ ss_samsrf_fit.m - toolboxes/
ss_toolbox/ — MATLAB, 86 linesss_matlab/ ss_samsrf/ ss_samsrf_mgh2srf.m - toolboxes/
ss_toolbox/ — MATLAB, 119 lines, 2 matchesss_matlab/ ss_samsrf/ ss_samsrf_simprf.m - toolboxes/
ss_toolbox/ — MATLAB, 101 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_calccr2_ wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 101 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_calccsnr _wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 100 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_calccsnr cr2sum_wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 88 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_calcr2di ff_wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 123 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_calcsums tat_wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 32 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_dispc2dg prf_wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 33 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_dispcolo rmaps_wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 298 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_dispmaps _wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 167 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_dispprfw orkflow.m - toolboxes/
ss_toolbox/ — MATLAB, 27 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_dispprfw orkflow_wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 48 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_dispsine .m - toolboxes/
ss_toolbox/ — MATLAB, 34 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_dispsine _wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 115 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_disptc_o bsvsfit_wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 71 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_drawvtx_ wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 94 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_fit_wrap per.m - toolboxes/
ss_toolbox/ — MATLAB, 116 lines, 1 matchss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_genapt_p ins.m - toolboxes/
ss_toolbox/ — MATLAB, 52 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_genapt_w rapper.m - toolboxes/
ss_toolbox/ — MATLAB, 47 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_genseqid x.m - toolboxes/
ss_toolbox/ — MATLAB, 43 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_glm_desm atcontr.m - toolboxes/
ss_toolbox/ — MATLAB, 133 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_glm_wrap per.m - toolboxes/
ss_toolbox/ — MATLAB, 182 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_mgh2srf_ wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 99 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_sim_calc cr2_wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 100 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_sim_calc csnr_wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 82 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_sim_calc csnrcr2sum_wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 54 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_sim_calc pval.m - toolboxes/
ss_toolbox/ — MATLAB, 72 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_sim_calc pval_wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 76 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_sim_calc r2diff_wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 80 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_sim_calc sumstats.m - toolboxes/
ss_toolbox/ — MATLAB, 64 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_sim_calc sumstats_wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 169 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_sim_disp count.m - toolboxes/
ss_toolbox/ — MATLAB, 72 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_sim_disp count_wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 133 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_sim_disp grid.m - toolboxes/
ss_toolbox/ — MATLAB, 114 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_sim_disp grid_wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 100 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_sim_disp pval_wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 123 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_sim_disp sumstats.m - toolboxes/
ss_toolbox/ — MATLAB, 67 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_sim_disp sumstats_wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 99 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_sim_disp tc_wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 69 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_sim_disp val.m - toolboxes/
ss_toolbox/ — MATLAB, 85 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_sim_fit_ wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 89 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_sim_getc ount.m - toolboxes/
ss_toolbox/ — MATLAB, 59 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_sim_getc ount_wrapper.m - toolboxes/
ss_toolbox/ — MATLAB, 68 linesss_matlab/ ss_zoomprf_main/ ss_zoomprf_main_sim_wrap per.m - LICENSE — License, 121 lines
- README.md — Text, 25 lines
openneuro:ds006128
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
- 28 September 2026: the link answers (HTTP 200)
OSF 4drz6
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
- 28 September 2026: the link answers (HTTP 200)
1 file, to read at the source
This repository has no license: its authors keep all rights. Read it at the source.
- README.md — Text, 211 lines, not shown here
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:
- 3 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 126 scripts, each with its path and the digest of its content;
- 8 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 and Code Availability
Custom code associated with this manuscript is available via our GitHub (https://
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, pages, dates, 7 authors, 10 keywords, 4 funders, 94 references.
Cite
This paper
Stoll, S., Luesebrink, F., Schwarzkopf, D. S., Mattern, H., Liu, P., Noelle, J., & Kuehn, E. (2026). Modeling 2D spatio-tactile population receptive fields of the fingertip in human primary somatosensory cortex. Imaging neuroscience (Cambridge, Mass.), 4, IMAG.a.1210. https://
BibTeX
@article{stoll2026modeli
author = {Stoll, Susanne and Luesebrink, Falk and Schwarzkopf, D Samuel and Mattern, Hendrik and Liu, Peng and Noelle, Johanna and Kuehn, Esther},
title = {{Modeling 2D spatio-tactile population receptive fields of the fingertip in human primary somatosensory cortex}},
journal = {Imaging neuroscience (Cambridge, Mass.)},
year = {2026},
month = may,
volume = {4},
pages = {IMAG.a.1210},
publisher = {MIT Press},
issn = {2837-6056},
doi = {10.1162/
url = {https://
pmid = {42212224},
pmcid = {PMC13214571}
}
RIS
TY - JOUR
AU - Stoll, Susanne
AU - Luesebrink, Falk
AU - Schwarzkopf, D Samuel
AU - Mattern, Hendrik
AU - Liu, Peng
AU - Noelle, Johanna
AU - Kuehn, Esther
TI - Modeling 2D spatio-tactile population receptive fields of the fingertip in human primary somatosensory cortex
T2 - Imaging neuroscience (Cambridge, Mass.)
J2 - Imaging Neurosci (Camb)
PY - 2026
DA - 2026/
VL - 4
SP - IMAG.a.1210
SN - 2837-6056
PB - MIT Press
DO - 10.1162/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1162/
"type": "article-journal",
"title": "Modeling 2D spatio-tactile population receptive fields of the fingertip in human primary somatosensory cortex",
"container-title": "Imaging neuroscience (Cambridge, Mass.)",
"author": [
{
"family": "Stoll",
"given": "Susanne"
},
{
"family": "Luesebrink",
"given": "Falk"
},
{
"family": "Schwarzkopf",
"given": "D Samuel"
},
{
"family": "Mattern",
"given": "Hendrik"
},
{
"family": "Liu",
"given": "Peng"
},
{
"family": "Noelle",
"given": "Johanna"
},
{
"family": "Kuehn",
"given": "Esther"
}
],
"container-title-short":
"volume": "4",
"page": "IMAG.a.1210",
"DOI": "10.1162/
"PMID": "42212224",
"PMCID": "PMC13214571",
"ISSN": "2837-6056",
"publisher": "MIT Press",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
26
]
]
}
}
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.7554/elife.108408 [code]
- Frequency and laminar profile of feature-specific visual activity revealed by interleaved EEG-fMRI.Journal: eLifeIn common: ANTs, FreeSurfer, SPM, 2 other tools, systems, fMRI, 5 references
- [2] 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: NeuronIn common: ANTs, Parallel Computing Toolbox, FreeSurfer, 3 other tools, systems, fMRI, 3 references
- [3] doi:10.1371/journal.pcbi.1014434 [code]
- Non-invasive mapping of the temporal processing hierarchy in the human visual cortex.Journal: PLoS computational biologyIn common: systems, fMRI, 7 references
- [4] doi:10.1371/journal.pcbi.1014563 [code]
- Single pulse electrical stimulation in white matter modulates iEEG visual responses in human early visual cortex.Journal: PLoS computational biologyIn common: ANTs, Parallel Computing Toolbox, FreeSurfer, 3 other tools, systems, 2 references
- [5] doi:10.1038/s41467-026-71151-2 [code]
- Common and distinct neural correlates of social interaction processing and theory of mind in narratives.Journal: Nature communicationsIn common: ANTs, Parallel Computing Toolbox, FreeSurfer, 3 other tools, 2 references
- [6] doi:10.1162/imag.a.1222 [code]
- Network-based near-scalp personalized brain stimulation targets.Journal: Imaging neuroscience (Cambridge, Mass.)In common: ANTs, FreeSurfer, SPM, 2 other tools, systems, 2 references
- [7] doi:10.1038/s41598-026-58377-2 [code]
- A novel distortion-matched anatomical imaging sequence for high-fidelity functional mapping in submillimeter-resolution
fMRI. Journal: Scientific reportsIn common: FreeSurfer, Image Processing Toolbox, fMRI, 4 references - [8] doi:10.1016/j.celrep.2026.117404 [code]
- Action and rest tremor map to distinct networks within the primary motor cortex.Journal: Cell reportsIn common: ANTs, Parallel Computing Toolbox, FreeSurfer, 3 other tools, systems
- [9] doi:10.1038/s41593-026-02359-0 [code]
- The cross-site reproducibility of MRI morphometric phenotypes in psychiatric disorders.Journal: Nature neuroscienceIn common: FreeSurfer, SPM, Image Processing Toolbox, 1 other tool, 4 references
- [10] doi:10.1162/imag.a.1262 [code]
- Frame-wise multi-echo distortion correction for superior functional MRI.Journal: Imaging neuroscience (Cambridge, Mass.)In common: Parallel Computing Toolbox, FreeSurfer, SPM, 2 other tools, fMRI, 2 references
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.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 3 repositories of the authors' code, each at its verified commit and with its license, 126 scripts, and 8 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:a33726de576888c0…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
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.
