Dynamic Functional Connectivity Changes in Cortical and Cortico-Striatal Strokes in Mice.
The 5 matches
- [1] § Methods › MRI Acquisition and Processing ↔ bin/3.1_T2Processing/getIncidenceSize_par.py, lines 89–231 · score 0.68 · atlas space, lesion mask, stroke masks, Incidence, binary, overlaying
- [2] § Methods › MRI Acquisition and Processing ↔ bin/3.1_T2Processing/getIncidenceSize.py, lines 89–231 · score 0.67 · atlas space, lesion mask, stroke masks, Incidence, binary, overlaying
- [3] § Methods › MRI Acquisition and Processing ↔ bin/3.1_T2Processing/getIncidenceSize_par.py, lines 89–231 · score 0.59 · Reference Atlas, lesion mask, zero, parental, Allen, voxel
- [4] § Methods › MRI Acquisition and Processing ↔ bin/5.1_ROI_analysis/02_apply_xfm_process.py, lines 1–42 · score 0.57 · ParaVision, fMRI, positioned, T2w, scan, map
- [5] § Methods › MRI Acquisition and Processing ↔ bin/2.1_T2PreProcessing/registration_T2.py, lines 23–156 · score 0.53 · lesion mask, alignment, parental, field, Allen, transformed
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
Python · 296 lines · 14 KB · GPL-3.0 · 2 matches
- """
- Created on 10/08/2017
- @author: Niklas Pallast
- Neuroimaging & Neuroengineering
- Department of Neurology
- University Hospital Cologne
- """
- import csv
- import os,sys
- import nibabel as nii
- import glob
- import numpy as np
- import scipy.io as sc
- sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)))
- from common.artifact_manifest import start_output_tracking
- from common.script_logging import setup_script_logging
- REPO_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir))
- def voxel_volume_mm3(nifti_img):
- # Use the full affine so rotated/sheared registered images still get a valid voxel volume.
- voxel_volume = abs(np.linalg.det(nifti_img.affine[:3, :3]))
- if voxel_volume == 0:
- voxel_volume = np.prod(nifti_img.header.get_zooms()[:3])
- return voxel_volume
- def ensure_same_grid(reference_img, moving_img, moving_description):
- if reference_img.shape != moving_img.shape:
- sys.exit("Error: Stroke mask and %s have different dimensions." % (moving_description,))
- if not np.allclose(reference_img.affine, moving_img.affine, atol=1e-4):
- sys.exit("Error: Stroke mask and %s have different affine matrices." % (moving_description,))
- def nifti_name_without_extension(file_path):
- file_name = os.path.basename(file_path)
- if file_name.endswith('.nii.gz'):
- return file_name[:-len('.nii.gz')]
- if file_name.endswith('.nii'):
- return file_name[:-len('.nii')]
- sys.exit("Error: '%s' is not a NIfTI file." % (file_path,))
- def find_brkraw_nifti(input_folder):
- brkraw_folder = os.path.join(input_folder, 'brkraw')
- matches = sorted(glob.glob(os.path.join(brkraw_folder, '*.nii')) +
- glob.glob(os.path.join(brkraw_folder, '*.nii.gz')))
- if len(matches) == 0:
- matches = sorted(glob.glob(os.path.join(input_folder, '**', 'brkraw', '*.nii'), recursive=True) +
- glob.glob(os.path.join(input_folder, '**', 'brkraw', '*.nii.gz'), recursive=True))
- if len(matches) == 0:
- sys.exit("Error: No NIfTI file found in a brkraw folder under '%s'." % (input_folder,))
- if len(matches) > 1:
- sys.exit("Error: Multiple NIfTI files found in brkraw folders under '%s': %s" %
- (input_folder, ', '.join(matches),))
- return matches[0]
- def load_label_table(label_file):
- label_ids = []
- label_names_by_id = {}
- label_names = []
- with open(label_file, 'r') as label_handle:
- for line in label_handle:
- line = line.strip()
- if not line:
- continue
- parts = line.split('\t', 1)
- if len(parts) != 2:
- sys.exit("Error: Invalid label line in '%s': %s" % (label_file, line,))
- label_id = int(parts[0])
- label_name = parts[1]
- label_ids.append(label_id)
- label_names_by_id[label_id] = label_name
- label_names.append(label_name)
- return np.array(label_ids, dtype=int), label_names_by_id, label_names
- def calculate_parental_stroke_overlap(brain_file, parental_annotation_file, ara_template_file, stroke_mask_file,
- incidence_lesion_mask_file, output_folder, label_file):
- # Load the reference Allen/ARA template used for the affected-regions overlay.
- ara_template_img = nii.load(ara_template_file)
- ara_template_labels = ara_template_img.get_fdata()
- affected_template_labels = np.zeros([np.size(ara_template_labels, 0), np.size(ara_template_labels, 1), np.size(ara_template_labels, 2)])
- # Load label IDs and names from the left/right-separated parental rsfMRI label table.
- all_label_ids, label_names_by_id, labelNames = load_label_table(label_file)
- parental_label_ids = all_label_ids.copy()
- # Save the template-space IncidenceData lesion mask labelled by the parental rsfMRI atlas.
- incidence_lesion_mask_img = nii.load(incidence_lesion_mask_file)
- incidence_lesion_mask = incidence_lesion_mask_img.get_fdata()
- incidence_lesion_mask[incidence_lesion_mask > 0.0] = 1.0
- incidence_lesion_mask[incidence_lesion_mask <= 0.0] = 0.0
- ensure_same_grid(incidence_lesion_mask_img, ara_template_img, "parental incidence atlas")
- parental_incidence_atlas = np.round(ara_template_labels)
- labelled_incidence_lesion = parental_incidence_atlas*incidence_lesion_mask
- labelled_incidence_lesion_img = nii.Nifti1Image(labelled_incidence_lesion, incidence_lesion_mask_img.affine)
- labelled_incidence_lesion_img.header.set_xyzt_units('mm')
- incidence_data_dir = os.path.dirname(incidence_lesion_mask_file)
- incidence_data_name = os.path.basename(incidence_lesion_mask_file)
- incidence_input_suffix = 'IncidenceData_Lesion_mask.nii.gz'
- if not incidence_data_name.endswith(incidence_input_suffix):
- sys.exit("Error: Incidence lesion mask filename must end with '%s'." % (incidence_input_suffix,))
- output_name = incidence_data_name[:-len('.nii.gz')] + '_Anno_parental.nii.gz'
- output_file = os.path.join(incidence_data_dir, output_name)
- nii.save(labelled_incidence_lesion_img, output_file)
- # Load and binarize the externally provided stroke mask.
- stroke_mask_img = nii.load(stroke_mask_file)
- stroke_mask = stroke_mask_img.get_fdata()
- stroke_mask[stroke_mask > 0.0] = 1.0
- stroke_mask[stroke_mask <= 0.0] = 0.0
- # Load subject-space parental annotation and brain image.
- parental_annotation_img = nii.load(parental_annotation_file)
- parental_annotation = np.round(parental_annotation_img.get_fdata())
- brain_img = nii.load(brain_file)
- brain_volume = brain_img.get_fdata()
- ensure_same_grid(stroke_mask_img, parental_annotation_img, "parental annotation")
- ensure_same_grid(stroke_mask_img, brain_img, "brain image")
- # Keep only parental atlas labels that overlap with the subject-space stroke mask.
- labelled_stroke_overlap = parental_annotation * stroke_mask
- # Extract the unique non-zero parental labels affected by the stroke.
- affected_labels = np.unique(labelled_stroke_overlap)
- affected_labels = affected_labels[affected_labels > 0.0]
- # Calculate how much of each affected parental region is covered by the stroke.
- region_percent_by_label = {}
- region_affected_voxels_by_label = {}
- for label_id in affected_labels:
- # Percentage of the parental region covered by stroke voxels.
- affected_voxels = np.sum(labelled_stroke_overlap == label_id)
- total_region_voxels = np.sum(parental_annotation == label_id)
- region_percent = (affected_voxels / total_region_voxels) * 100
- region_percent_by_label[int(label_id)] = min(region_percent, 100)
- region_affected_voxels_by_label[int(label_id)] = affected_voxels
- # Keep only label IDs that are actually affected by stroke (in the affected-label list)
- affected_label_ids = np.array(sorted(region_percent_by_label))
- affected_label_mask = np.isin(parental_label_ids, affected_label_ids)
- parental_label_ids = parental_label_ids[affected_label_mask]
- parental_label_id_set = set(int(label_id) for label_id in parental_label_ids)
- # Create an affected-region overlay in the reference atlas space.
- affected_template_mask = np.isin(ara_template_labels, affected_label_ids)
- affected_template_labels[affected_template_mask] = ara_template_labels[affected_template_mask]
- # Save the affected parental regions as a NIfTI overlay.
- affected_regions_img = nii.Nifti1Image(affected_template_labels, ara_template_img.affine)
- affected_regions_img.header.set_xyzt_units('mm')
- brkraw_nifti_file = find_brkraw_nifti(output_folder)
- affected_regions_prefix = '%s_%s_' % (nifti_name_without_extension(brkraw_nifti_file),
- nifti_name_without_extension(ara_template_file))
- #Create affected Regions folder
- affected_regions_dir = os.path.join(output_folder, 'affected_Regions')
- os.makedirs(affected_regions_dir, exist_ok=True)
- output_file = os.path.join(affected_regions_dir, affected_regions_prefix + 'affectedRegions_Parental.nii.gz')
- nii.save(affected_regions_img, output_file)
- # Stroke volume calculation
- brain_mask = brain_volume.copy()
- brain_mask[brain_mask > 0.0] = 1.0
- brain_mask[brain_mask <= 0.0] = 0.0
- # Estimate volumes from binary voxel count times each image's voxel volume.
- strokeVoxelVolumeMM3 = voxel_volume_mm3(stroke_mask_img)
- brainVoxelVolumeMM3 = voxel_volume_mm3(brain_img)
- strokeVolumeInCubicMM = np.sum(stroke_mask > 0) * strokeVoxelVolumeMM3
- brainVolumeInCubicMM = np.sum(brain_mask > 0) * brainVoxelVolumeMM3
- if brainVolumeInCubicMM == 0:
- sys.exit("Error: Brain mask volume is zero.")
- # Write the CSV summary of affected parental regions.
- csv_file = open(os.path.join(affected_regions_dir, affected_regions_prefix + 'affectedRegions_Parental.csv'), 'w', newline='')
- csv_writer = csv.writer(csv_file)
- strokePercentOfBrain = (strokeVolumeInCubicMM / brainVolumeInCubicMM) * 100
- csv_writer.writerow(['Label_id', 'Brain region', 'Affected region percentage [%]', 'Region stroke volume [mm3]', '',
- 'Stroke percent of brain [%]', 'Total stroke volume [mm3]'])
- affected_label_names_by_id = {}
- wrote_total_stroke_values = False
- for label_id in all_label_ids:
- label_name = label_names_by_id[label_id]
- # Only write rows for labels that are actually affected by stroke and are in the parental label set.
- if label_id in region_percent_by_label and label_id in parental_label_id_set:
- # Write label ID, label name, affected percentage, and absolute affected volume for each matched region.
- region_stroke_volume_mm3 = region_affected_voxels_by_label[label_id] * strokeVoxelVolumeMM3
- if wrote_total_stroke_values:
- total_stroke_percent = ''
- total_stroke_volume = ''
- else:
- total_stroke_percent = "%0.2f" % strokePercentOfBrain
- total_stroke_volume = "%0.4f" % strokeVolumeInCubicMM
- wrote_total_stroke_values = True
- csv_writer.writerow([label_id, label_name, "%0.2f" % region_percent_by_label[label_id],
- "%0.4f" % region_stroke_volume_mm3, '', total_stroke_percent,
- total_stroke_volume])
- affected_label_names_by_id[label_id] = label_name
- csv_file.close()
- # Store the same region statistics in a MATLAB file for downstream workflows.
- regionAffectPercent = np.array([region_percent_by_label[int(label_id)] for label_id in parental_label_ids])
- regionStrokeVolumeMM3 = np.array([region_affected_voxels_by_label[int(label_id)] * strokeVoxelVolumeMM3
- for label_id in parental_label_ids])
- affected_label_names = [affected_label_names_by_id.get(int(label_id), "") for label_id in parental_label_ids]
- parental_label_ids = np.column_stack((parental_label_ids, regionAffectPercent))
- label_mat = {}
- label_mat['ABLAbelsIDsParental'] = parental_label_ids
- label_mat['ABANamesPar'] = affected_label_names
- label_mat['ABAlabels'] = labelNames
- label_mat['regionStrokeVolumeMM3'] = regionStrokeVolumeMM3
- label_mat['volumePer'] = (strokeVolumeInCubicMM / brainVolumeInCubicMM) * 100
- label_mat['volumeMM'] = strokeVolumeInCubicMM
- sc.savemat(os.path.join(affected_regions_dir, affected_regions_prefix + 'labelCount_par.mat'), label_mat)
- def find_files(input_folder, pattern):
- # Search the input folder recursively and return deterministic file ordering.
- return sorted(glob.glob(os.path.join(input_folder, '**', pattern), recursive=True))
- def find_single_file(input_folder, pattern, description):
- matches = find_files(input_folder, pattern)
- if len(matches) == 0:
- sys.exit("Error: No %s found in '%s'." % (description, input_folder,))
- if len(matches) > 1:
- sys.exit("Error: Multiple %s found in '%s': %s" % (description, input_folder, ', '.join(matches),))
- return matches[0]
- if __name__ == "__main__":
- import argparse
- parser = argparse.ArgumentParser(description='Calculate incidence sizes of parental regions. You do not need to enter single files, but the path to the .../anat folder which includes the T2 data')
- requiredNamed = parser.add_argument_group('Required named arguments')
- requiredNamed.add_argument('-i', '--inputFolder', help='.../anat', required=True)
- parser.add_argument('-a', '--allenBrain_anno', help='File: left/right-separated parental rsfMRI annotation template', nargs='?', type=str,
- default=os.path.join(REPO_ROOT, 'lib', 'annoVolume+2000_rsfMRI.nii.gz'))
- input_folder = None
- allen_template_file = None
- output_folder = None
- args = parser.parse_args()
- # Use the input folder as both source folder and output folder.
- if args.inputFolder is not None:
- input_folder = args.inputFolder
- output_folder = args.inputFolder
- if not os.path.exists(input_folder):
- sys.exit("Error: '%s' is not an existing directory." % (input_folder,))
- start_output_tracking(output_folder, "anat", "processing")
- setup_script_logging(output_folder, "process_par.log")
- if args.allenBrain_anno is not None:
- allen_template_file = args.allenBrain_anno
- if not os.path.isfile(allen_template_file):
- sys.exit("Error: '%s' is not an existing file." % (allen_template_file,))
- # Resolve static label resources from the repository lib folder.
- label_file = os.path.join(REPO_ROOT, 'lib', 'annoVolume+2000_rsfMRI.nii.txt')
- ara_template_file = allen_template_file
- # Collect exactly one required subject file from the input folder.
- stroke_mask_file = find_single_file(input_folder, '*Stroke_mask.nii.gz', 'stroke mask')
- brain_file = find_single_file(input_folder, '*Bet.nii.gz', 'BET image')
- parental_annotation_file = find_single_file(input_folder, '*_AnnoSplit_parental.nii.gz', 'parental annotation')
- incidence_lesion_mask_file = find_single_file(input_folder, '*IncidenceData_Lesion_mask.nii.gz', 'incidence lesion mask')
- print("1 folder will be processed...")
- # Calculate parental-region lesion overlap and write NIfTI, TXT, and MAT outputs.
- calculate_parental_stroke_overlap(brain_file, parental_annotation_file, ara_template_file, stroke_mask_file,
- incidence_lesion_mask_file, output_folder, label_file)
getIncidenceSize_par.py at commit e12eb82, under GPL-3.0 · at the source
Overview
- Cognitive Neuroscience, Institute of Neuroscience and Medicine (INM‐3), Research Centre Juelich, Juelich, Germany
- Department of Neurology, Faculty of Medicine, University Hospital Cologne, University of Cologne, Cologne, Germany
- Department of Neurology, Experimental Neurology Section, Goethe University Frankfurt and University Hospital, Frankfurt am Main, Germany
- In‐Vivo‐NMR Laboratory, Max Planck Institute for Metabolism Research, Cologne, Germany
Abstract
Aims: To determine how lesion size and location shape longitudinal functional connectivity (FC) changes after stroke.
Methods: Adult male mice underwent atlas‐based resting‐state fMRI at baseline and 1, 2, and 4 weeks after either a small photothrombotic cortical stroke (N = 25) or a larger transient cortico‐striatal MCAO stroke (N = 6). FC was quantified across 98 atlas regions, focusing on sensorimotor cortex, striatum, and thalamus, including intra‐ and inter‐hemispheric connectivity matrices and regional seed strength.
Results: Cortical stroke caused widespread hyperconnectivity at Weeks 1–2, with about 90% of connections increased, followed by partial normalization by Week 4. This effect declined most strongly in the ischemic hemisphere and remained more sustained contralesionally. In contrast, cortico‐striatal stroke induced global hypoconnectivity at Week 1, with more than 90% of connections decreased, a modest and heterogeneous shift toward baseline at Week 2, and widespread decreases persisting at Week 4. A subset of sensorimotor connections showing opposite changes in the two models robustly separated groups at all post‐stroke time points. Regional lesion involvement scaled with the magnitude of baseline‐referenced FC alterations.
Conclusion: Lesion topography drives distinct longitudinal FC trajectories after stroke and may help define network biomarkers and optimal windows for targeted interventions.
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 5 matches between paragraphs and lines of code.
Aswendt-Lab/AIDAmri
e12eb8271bf9b1eca6069808d9d1ba08e421c362, 25 September 2026Availability: 1 check, the latest on 26 September 2026: the link answers
- 26 September 2026: the link answers
110 files
- ARA/
AllenBrainAPI-master/ — MATLAB, 61 linesDownloadImageSeries.m - ARA/
AllenBrainAPI-master/ — MATLAB, 71 linesacronym2structureID.m - ARA/
AllenBrainAPI-master/ — MATLAB, 77 linesexamples/ thalamus.m - ARA/
AllenBrainAPI-master/ — MATLAB, 102 linesfindAllenExperiments.m - ARA/
AllenBrainAPI-master/ — MATLAB, 283 linesgetAllenStructureList.m - ARA/
AllenBrainAPI-master/ — MATLAB, 71 linesgetInjectionIDfromExperi ment.m - ARA/
AllenBrainAPI-master/ — MATLAB, 94 linesgetProjectionDataFromExp eriment.m - ARA/
AllenBrainAPI-master/ — MATLAB, 71 linesname2structureID.m - ARA/
AllenBrainAPI-master/ — MATLAB, 82 linesstructureID2name.m - ARA/
download_ARA.py — Python, 85 lines - ARA/
getParentalARA.m — MATLAB, 31 lines - ARA/
readXML_Lables.m — MATLAB, 8 lines - bin/
2.1_T2PreProcessing/ — Python, 123 linesMICO.py - bin/
2.1_T2PreProcessing/ — Python, 277 linesapplyMICO.py - bin/
2.1_T2PreProcessing/ — Python, 307 linespreProcessing_T2.py - bin/
2.1_T2PreProcessing/ — Python, 293 lines, 1 matchregistration_T2.py - bin/
2.1_T2PreProcessing/ — Python, 139 linest2_value_extraction.py - bin/
2.2_DTIPreProcessing/ — Python, 120 linesMICO.py - bin/
2.2_DTIPreProcessing/ — Python, 87 linesanisodiff.py - bin/
2.2_DTIPreProcessing/ — Python, 260 linesapplyMICO.py - bin/
2.2_DTIPreProcessing/ — Python, 131 linesaverageb0.py - bin/
2.2_DTIPreProcessing/ — Python, 45 linesextracted_brain_output.p y - bin/
2.2_DTIPreProcessing/ — Python, 570 linespreProcessing_DTI.py - bin/
2.2_DTIPreProcessing/ — Python, 395 linesregistration_DTI.py - bin/
2.3_fMRIPreProcessing/ — Python, 294 linespreProcessing_fMRI.py - bin/
2.3_fMRIPreProcessing/ — Python, 380 linesregistration_rsfMRI.py - bin/
3.1_T2Processing/ — Python, 58 linesbrummerSNR.py - bin/
3.1_T2Processing/ — Python, 68 lineschangSNR.py - bin/
3.1_T2Processing/ — Python, 164 linesgetIncidenceMap.py - bin/
3.1_T2Processing/ — Python, 296 lines, 1 matchgetIncidenceSize.py - bin/
3.1_T2Processing/ — Python, 296 lines, 2 matchesgetIncidenceSize_par.py - bin/
3.1_T2Processing/ — Python, 61 linessijbersSNR.py - bin/
3.2.1_DTIdata_extract/ — Python, 109 linesDTIdata_extract.py - bin/
3.2.1_DTIdata_extract/ — Python, 44 linesiterativeRun.py - bin/
3.2.1_DTIdata_extract/ — Python, 65 linesiterativeRun_MA.py - bin/
3.2.1_DTIdata_extract/ — Python, 65 linesiterativeRun_MA_peri-inf arct_ROIs.py - bin/
3.2.1_DTIdata_extract/ — Python, 65 linesiterativeRun_MA_stroke_m ask.py - bin/
3.2_DTIConnectivity/ — Python, 354 linesdsi_main.py - bin/
3.2_DTIConnectivity/ — Python, 888 linesdsi_tools.py - bin/
3.2_DTIConnectivity/ — Python, 126 linesplotDTI_mat.py - bin/
3.3_fMRIActivity/ — Python, 22 linescorrelate_matrix.py - bin/
3.3_fMRIActivity/ — Python, 160 linescorrelate_seed_voxels.py - bin/
3.3_fMRIActivity/ — Python, 271 linescreate_seed_rois.py - bin/
3.3_fMRIActivity/ — Python, 175 linesfsl_mean_ts.py - bin/
3.3_fMRIActivity/ — Python, 134 linesgetRegrTable.py - bin/
3.3_fMRIActivity/ — Python, 137 linesgetSingleRegTable.py - bin/
3.3_fMRIActivity/ — Python, 152 linesi32Reader.py - bin/
3.3_fMRIActivity/ — Python, 50 linesparReader.py - bin/
3.3_fMRIActivity/ — Python, 87 linespeakdet.py - bin/
3.3_fMRIActivity/ — Python, 75 linesplotfMRI_mat.py - bin/
3.3_fMRIActivity/ — Python, 406 linesprocess_fMRI.py - bin/
3.3_fMRIActivity/ — Python, 345 linesregress.py - bin/
4.1_T2mapPreProcessing/ — Python, 113 linesMICO.py - bin/
4.1_T2mapPreProcessing/ — Python, 87 linesanisodiff.py - bin/
4.1_T2mapPreProcessing/ — Python, 219 linesapplyMICO.py - bin/
4.1_T2mapPreProcessing/ — Python, 255 linespreProcessing_T2MAP.py - bin/
4.1_T2mapPreProcessing/ — Python, 241 linesregistration_T2MAP.py - bin/
4.1_T2mapPreProcessing/ — Python, 113 linest2map_data_extract.py - bin/
5.1_ROI_analysis/ — Python, 229 lines01_dilate_mask_process.p y - bin/
5.1_ROI_analysis/ — Python, 345 lines, 1 match02_apply_xfm_process.py - bin/
5.1_ROI_analysis/ — Python, 252 lines03_create_seed_rois_proc ess.py - bin/
5.1_ROI_analysis/ — Python, 61 lines04_examine_rois.py - bin/
5.1_ROI_analysis/ — Python, 177 linesapply_xfm.py - bin/
5.1_ROI_analysis/ — Python, 179 linescreate_seed_rois.py - bin/
5.1_ROI_analysis/ — Python, 72 linesdilate_mask.py - bin/
5.1_ROI_analysis/ — Python, 91 linesfsl_mean_ts.py - bin/
5.1_ROI_analysis/ — Python, 257 linesproc_tools.py - bin/
5.1_ROI_analysis/ — Python, 416 linespv_parser.py - bin/
5.1_ROI_analysis/ — Python, 490 linespv_reader.py - bin/
PV2NIfTiConverter/ — Python, 416 linesAlternative_pv_reader/ pv_parser.py - bin/
PV2NIfTiConverter/ — Python, 490 linesAlternative_pv_reader/ pv_reader.py - bin/
PV2NIfTiConverter/ — Python, 341 linesP2_IDLt2_mapping.py - bin/
PV2NIfTiConverter/ — Python, 1 lineReferenceMethods/ __init__.py - bin/
PV2NIfTiConverter/ — Python, 71 linesReferenceMethods/ brummerSNR.py - bin/
PV2NIfTiConverter/ — Python, 83 linesReferenceMethods/ changSNR.py - bin/
PV2NIfTiConverter/ — Python, 88 linesReferenceMethods/ getSNR.py - bin/
PV2NIfTiConverter/ — Python, 75 linesReferenceMethods/ sijbersSNR.py - bin/
PV2NIfTiConverter/ — Python, 1 line__init__.py - bin/
PV2NIfTiConverter/ — Python, 91 linesdict2xml.py - bin/
PV2NIfTiConverter/ — Python, 385 linespv_conv2Nifti.py - bin/
PV2NIfTiConverter/ — Python, 385 linespv_conv2Nifti_bval_bvec. py - bin/
PV2NIfTiConverter/ — Python, 344 linespv_parseBruker_md_np.py - bin/
__init__.py — Python, 1 line - bin/
batchProc.py — Python, 1,542 lines - bin/
common/ — Python, 1 line__init__.py - bin/
common/ — Python, 311 linesartifact_manifest.py - bin/
common/ — Python, 475 linesbet.py - bin/
common/ — Python, 69 linesfmri_metadata.py - bin/
common/ — Python, 136 linesscript_logging.py - bin/
conv2Nifti_auto.py — Python, 890 lines - bin/
helper_tools/ — Python, 66 linesDistributeStrokeMasks.py - bin/
helper_tools/ — Python, 53 linesMRI_files_summarizer.py - bin/
helper_tools/ — Python, 564 linesReorientBatch.py - bin/
helper_tools/ — Python, 1,104 linesReset_proc_folder.py - bin/
helper_tools/ — Python, 100 linesadjustbvecRep.py - bin/
helper_tools/ — Python, 709 linesbatch_qc_reports.py - bin/
helper_tools/ — Python, 97 linescrop_T2.py - bin/
helper_tools/ — Python, 65 linesfieldmap_json_edit.py - bin/
helper_tools/ — Python, 301 linesgetAtlasRegionSize_BIDS. py - bin/
helper_tools/ — Python, 262 linesgetAtlasRegionSize_noBID S.py - bin/
helper_tools/ — Python, 309 linesplot_sourcedata_niftis.p y - bin/
helper_tools/ — Shell, 33 linesremove_carets_spaces.sh - bin/
helper_tools/ — Python, 78 linesreset_naming.py - docs/
AIDAmri_workshop.ipynb — Jupyter, 378 lines - install/
aidamri_entrypoint.sh — Shell, 10 lines - install/
fslinstaller_mod.py — Python, 3,102 lines - install/
install_immv.sh — Shell, 29 lines - install/
write_aidamri_git_info.s — Shell, 103 linesh - LICENSE — License, 674 lines
- README.md — Text, 310 lines
doi:10.12751/g-node.pmvtz1
Availability: 1 check, the latest on 26 September 2026: the link answers (HTTP 200)
- 26 September 2026: the link answers (HTTP 200)
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:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 108 scripts, each with its path and the digest of its content;
- 5 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 Statement
The dataset including all raw and processed MRI data, custom scripts, and code is available at DOI: 10.12751/
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, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 7 authors, 8 keywords, 11 MeSH terms, 1 funder, 58 references.
Cite
This paper
Mahani, F. S. N., Diedenhofen, M., Green, C., Wiedermann, D., Fink, G. R., Hoehn, M., & Aswendt, M. (2026). Dynamic Functional Connectivity Changes in Cortical and Cortico-Striatal Strokes in Mice. CNS neuroscience & therapeutics, 32(8), e71114. https://
BibTeX
@article{mahani2026dynam
author = {Mahani, Fatemeh S N and Diedenhofen, Michael and Green, Claudia and Wiedermann, Dirk and Fink, Gereon R and Hoehn, Mathias and Aswendt, Markus},
title = {{Dynamic Functional Connectivity Changes in Cortical and Cortico-Striatal Strokes in Mice}},
journal = {CNS neuroscience \& therapeutics},
year = {2026},
month = aug,
volume = {32},
number = {8},
pages = {e71114},
publisher = {Wiley},
issn = {1755-5930},
doi = {10.1002/
url = {https://
pmid = {42661330},
pmcid = {PMC13522393}
}
RIS
TY - JOUR
AU - Mahani, Fatemeh S N
AU - Diedenhofen, Michael
AU - Green, Claudia
AU - Wiedermann, Dirk
AU - Fink, Gereon R
AU - Hoehn, Mathias
AU - Aswendt, Markus
TI - Dynamic Functional Connectivity Changes in Cortical and Cortico-Striatal Strokes in Mice
T2 - CNS neuroscience & therapeutics
J2 - CNS Neurosci Ther
PY - 2026
DA - 2026/
VL - 32
IS - 8
SP - e71114
SN - 1755-5930
PB - Wiley
DO - 10.1002/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1002/
"type": "article-journal",
"title": "Dynamic Functional Connectivity Changes in Cortical and Cortico-Striatal Strokes in Mice",
"container-title": "CNS neuroscience & therapeutics",
"author": [
{
"family": "Mahani",
"given": "Fatemeh S N"
},
{
"family": "Diedenhofen",
"given": "Michael"
},
{
"family": "Green",
"given": "Claudia"
},
{
"family": "Wiedermann",
"given": "Dirk"
},
{
"family": "Fink",
"given": "Gereon R"
},
{
"family": "Hoehn",
"given": "Mathias"
},
{
"family": "Aswendt",
"given": "Markus"
}
],
"container-title-short":
"volume": "32",
"issue": "8",
"page": "e71114",
"DOI": "10.1002/
"PMID": "42661330",
"PMCID": "PMC13522393",
"ISSN": "1755-5930",
"publisher": "Wiley",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
1
]
]
}
}
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: DIPY, Tools for NIfTI and ANALYZE image (MATLAB), ANTs, 7 other tools, systems, fMRI
- [2] doi:10.1186/s13293-026-00891-z [code]
- Sex differences in dynamic and static measures of brain integration derived from resting-state functional magnetic resonance imaging.Journal: Biology of sex differencesIn common: DIPY, Nipype, ANTs, 7 other tools, fMRI
- [3] doi:10.1038/s41746-026-02803-2 [code]
- A clinical neuroimaging platform for rapid, automated lesion detection and personalized post-stroke outcome prediction.Journal: NPJ digital medicineIn common: Tools for NIfTI and ANALYZE image (MATLAB), NiBabel, pandas, 1 other tool, stroke, 5 references
- [4] doi:10.1038/s41398-026-04025-2 [code]
- Brain energetic landscapes shape state dysregulation in major depressive disorder: a morphological network controllability perspective.Journal: Translational psychiatryIn common: Nipype, Tools for NIfTI and ANALYZE image (MATLAB), ANTs, 7 other tools
- [5] doi:10.1371/journal.ppat.1014315 [code]
- A single Citrobacter rodentium infection in Pink1 knockout and wild-type mice leads to regional blood-brain-barrier perturbation and limited microglial activation without dopamine neuron axon terminal loss.Journal: PLoS pathogensIn common: DIPY, Nipype, Tools for NIfTI and ANALYZE image (MATLAB), 5 other tools, mouse
- [6] doi:10.3389/fnins.2026.1873417 [code]
- Functional brain network alterations in a rat model of dental malocclusion.Journal: Frontiers in neuroscienceIn common: Nipype, ANTs, FSL, 6 other tools, systems, fMRI
- [7] doi:10.1038/s41398-026-04157-5 [code]
- Association of glymphatic function with 40-Hz neural oscillations, systemic metabolic markers, and cognitive performance in healthy aging adults: An EEG and MRI study.Journal: Translational psychiatryIn common: Nipype, ANTs, FSL, 6 other tools, fMRI
- [8] doi:10.1002/epi.70296 [code]
- Fully automated three-dimensional deep learning-based magnetic resonance imaging segmentation of brain cavities in epilepsy surgery.Journal: EpilepsiaIn common: Nipype, ANTs, FSL, 6 other tools
- [9] doi:10.1111/ene.70678 [code]
- Who Falls After a Stroke? Evidence From a Prospective Stroke Cohort.Journal: European journal of neurologyIn common: Tools for NIfTI and ANALYZE image (MATLAB), ANTs, NiBabel, 5 other tools, stroke, 1 reference
- [10] doi:10.1038/s41467-026-73668-y [code]
- Convergent and divergent brain-cognition development in early adolescence.Journal: Nature communicationsIn common: Tools for NIfTI and ANALYZE image (MATLAB), ANTs, FSL, 6 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.
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: 2 repositories of the authors' code, each at its verified commit and with its license, 108 scripts, and 5 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:7bbacee95b31989f…
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.
