CerebNet.datasets.load_data

class CerebNet.datasets.load_data.SubjectLoader(cfg, aux_subjects_files=None)[source]

Subject loader class.

Methods

load_subject(current_subject[, ...])

Loads and processes the subject and returns data in a dictionary.

load_test_subject(current_subject)

Loading subject for eval :param current_subject: :return:

load_subject(current_subject, store_talairach=False, load_aux_data=False)[source]

Loads and processes the subject and returns data in a dictionary.

Parameters:
current_subjectstr

Subject ID.

store_talairachbool, optional

Whether to store Talairach coordinates. Defaults to False.

load_aux_databool, optional

Whether to load auxiliary data. Defaults to False.

Returns:
dict

Dictionary of processed data.

load_test_subject(current_subject)[source]

Loading subject for eval :param current_subject: :return: