load_config

seas.defaults.load_config(path: Optional[str] = None)[source]

Load the configuration file. The default location is the seas module directory.

Parameters

path – Where to load the config file from.

Returns

the configuration parameters loaded from file.

Return type

config

Defaults values are as follows:
‘colormap’:

‘videos’: ‘rainbow’, ‘domains’: ‘twilight_r’, ‘components’: ‘coolwarm’, ‘correlation’: ‘RdGy_r’, ‘regions’: ‘custom_pastel’

‘regions’: {

“Motor”: “1”, “Motor-Medial”: “1.25”, “Motor-Lateral”: “1.5”, “Somatosensory”: “2”, “Somatosensory-Barrel”: “2.25”, “Somatosensory-Core”: “2.5”, “Somatosensory-Secondary”: “2.75”, “Auditory”: “3”, “Visual”: “4”, “Visual-Primary”: “4.25”, “Visual-Higher”: “4.75”, “Retrosplenial”: “5”, “Olfactory”: “6”, “SuperiorColliculus”: “7”, “Clear”: “NaN”

‘regions-abbrev’: {

“Motor”: “M”, “Motor-Medial”: “Ml”, “Motor-Lateral”: “Mm”, “Somatosensory”: “S”, “Somatosensory-Barrel”: “Sb”, “Somatosensory-Core”: “Sc”, “Somatosensory-Secondary”: “Ss”, “Auditory”: “A”, “Visual”: “V”, “Visual-Primary”: “V1”, “Visual-Higher”: “V+”, “Retrosplenial”: “R”, “Olfactory”: “O”, “SuperiorColliculus”: “SC”, “Clear”: “X”