BrianGlobalPreferencesView class¶
(Shortest import: from brian2.core.preferences import BrianGlobalPreferencesView)
- class brian2.core.preferences.BrianGlobalPreferencesView(basename, all_prefs)[source]¶
Bases:
MutableMappingA class allowing for accessing preferences in a subcategory. It forwards requests to
BrianGlobalPreferencesand provides documentation and autocompletion support for all preferences in the given category. This object is used to allow accessing preferences via attributes of theprefsobject.