get_region_list

behavenet.data.utils.get_region_list(hparams, group_0='regions', group_1='indxs')[source]

Get brain regions and their indices into neural data.

Parameters:
  • hparams (dict or namespace object) – required keys: ‘data_dir’, ‘lab’, ‘expt’, ‘animal’, ‘session’

  • group_0 (str, optional) – top-level HDF5 group that contains second-level groups of neural indices

  • group_1 (str, optional) – second-level HDF5 group that contains datasets of neural indices

Returns:

keys are groups of indices defined in data.hdf5 file (for example all indices associated with a single brain region)

Return type:

dict