macro_eeg_model.data_prep.areas_terminology_parser#
Classes#
A class to parse the Julich hierarchical parcellation terminology into a dictionary. |
Module Contents#
- class macro_eeg_model.data_prep.areas_terminology_parser.AreasTerminologyParser[source]#
A class to parse the Julich hierarchical parcellation terminology into a dictionary.
- static parse_into_dict()[source]#
Parses the areas_terminology.json file located in the Julich data path (see
src.utils.paths.Paths) into a nested dictionary.The method reads a JSON file containing the hierarchical structure of brain areas, processes the data, and returns it in a clean dictionary format.
- Returns:
A nested dictionary where each key represents a brain area and its corresponding children areas are stored as values.
- Return type:
dict