src.utils package¶
Subpackages¶
- src.utils.cnt_reader package
- src.utils.data_exportation package
- src.utils.download_fsaverage_mne_data package
- Submodules
- src.utils.download_fsaverage_mne_data.download_fsaverage_mne_data_controller module
- src.utils.download_fsaverage_mne_data.download_fsaverage_mne_data_listener module
- src.utils.download_fsaverage_mne_data.download_fsaverage_mne_data_model module
- src.utils.download_fsaverage_mne_data.download_fsaverage_mne_data_view module
- Module contents
- src.utils.elements_selector package
- src.utils.model package
- src.utils.view package
- src.utils.waiting_while_processing package
Submodules¶
src.utils.file_path_search module¶
File path search
-
src.utils.file_path_search.
get_directory_path_from_file_path
(file_path)[source]¶ Get the directory of the file given. :param file_path: The path to the file. :type file_path: str :return: The directory. :rtype: str
-
src.utils.file_path_search.
get_image_folder
()[source]¶ Get the image directory. :return: The image directory. :rtype: str
-
src.utils.file_path_search.
get_labels_from_subject
(subject, subjects_dir)[source]¶ Get the labels names from a specific subject. :param subject: The subject used by the source space computations. :type subject: str :param subjects_dir: The directory of the subject used by the source space computations. :type subjects_dir: str :return: The labels. :rtype: list of str