cortex.dataset.Dataset.from_file

classmethod Dataset.from_file(filename, subject=None)[source]

Load a pycortex Dataset (cortex.Dataset class) from a file

Parameters:
filenamestr

.hdf file from which to load

subjectstr, optional

string ID for pycortex subject, if subject name has changed since the Dataset was created. None input assumes subject name in saved file is a subject in your current pycortex filestore. By default None

Returns:
Dataset

pycortex Dataset