Skip to content

Commit

Permalink
Add conversion dictionary for old acronyms
Browse files Browse the repository at this point in the history
  • Loading branch information
36000 committed Apr 22, 2024
1 parent 57b397a commit 74d04e3
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions AFQ/utils/conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,40 @@
from AFQ.data.utils import BUNDLE_MAT_2_PYTHON


# This dictionary is used to convert the names of the bundles
# from old pyAFQ bundle names to the new pyAFQ bundle names.
old_acronyms_to_formal = {
"ATR_L": "Left Anterior Thalamic",
"ATR_R": "Right Anterior Thalamic",
"CST_L": "Left Corticospinal",
"CST_R": "Right Corticospinal",
"CGC_L": "Left Cingulum Cingulate",
"CGC_R": "Right Cingulum Cingulate",
"IFO_L": "Left Inferior Fronto-Occipital",
"IFO_R": "Right Inferior Fronto-Occipital",
"ILF_L": "Left Inferior Longitudinal",
"ILF_R": "Right Inferior Longitudinal",
"SLF_L": "Left Superior Longitudinal",
"SLF_R": "Right Superior Longitudinal",
"UNC_L": "Left Uncinate",
"UNC_R": "Right Uncinate",
"ARC_L": "Left Arcuate",
"ARC_R": "Right Arcuate",
"VOF_L": "Left Vertical Occipital",
"VOF_R": "Right Vertical Occipital",
"pARC_L": "Left Posterior Arcuate",
"pARC_R": "Right Posterior Arcuate",
"Orbital": "Callosum Orbital",
"AntFrontal": "Callosum Anterior Frontal",
"SupFrontal": "Callosum Superior Frontal",
"Motor": "Callosum Motor",
"SupParietal": "Callosum Superior Parietal",
"PostParietal": "Callosum Posterior Parietal",
"Occipital": "Callosum Occipital",
"Temporal": "Callosum Temporal"
}


class MatlabFileTracking():
"""
Helper class.
Expand Down

0 comments on commit 74d04e3

Please sign in to comment.