eigenstrapping.datasets.load_surface_examples

eigenstrapping.datasets.load_surface_examples(data_dir=None, with_surface=False)[source]

Downloads all surface files for fsaverage5 space

Parameters:
  • data_dir (str, optional) – Path to use as data directory. If not specified, will check for environmental variable ‘EIGEN_DATA’; if that is not set, will use ~/eigenstrapping-data instead. Default: None

  • with_surface (str, optional) – Flag whether to return the surfaces or not. Default False.

Returns:

Maps, emodes, and evals for left and right hemispheres.

Return type:

tuple of ndarrays