config Package¶
TVB generic configurations are here.
E.g. Scientific libraries modules are plugged, to avoid close dependencies. E.g. A list with all the modules where adapters are implemented.
algorithm_categories¶
- class tvb.config.algorithm_categories.AlgorithmCategoryConfig[source]¶
Bases:
objectBase class to define defaults for an algorithm category entity. To be overiden inside each algorithm category module: analyzers, creators, simulator, uploaders, visualizers. Subclasses will be used at introspection time, in order to fill the ALGORITHM_CATEGORIES table with data.
- category_name = None¶
- defaultdatastate = 'INTERMEDIATE'¶
- display = False¶
- launchable = False¶
- order_nr = 999¶
- rawinput = False¶
- class tvb.config.algorithm_categories.AnalyzeAlgorithmCategoryConfig[source]¶
Bases:
AlgorithmCategoryConfig- category_name = 'Analyze'¶
- launchable = True¶
- order_nr = 1¶
- class tvb.config.algorithm_categories.CreateAlgorithmCategoryConfig[source]¶
Bases:
AlgorithmCategoryConfig- category_name = 'Create'¶
- defaultdatastate = 'RAW_DATA'¶
- order_nr = 0¶
- class tvb.config.algorithm_categories.SimulateAlgorithmCategoryConfig[source]¶
Bases:
AlgorithmCategoryConfig- category_name = 'Simulate'¶
- order_nr = 0¶
profile_settings¶
TVB global configurations are predefined/read from here, for working with Framework.
- class tvb.config.profile_settings.CommandSettingsProfile[source]¶
Bases:
WebSettingsProfileProfile which allows you to work in tvb with storage enable, but in console mode.
- class tvb.config.profile_settings.TestPostgresProfile[source]¶
Bases:
TestSQLiteProfileDefines settings for running tests on a Postgres database.
- class tvb.config.profile_settings.TestSQLiteProfile[source]¶
Bases:
WebSettingsProfileDefines settings for running tests on an SQLite database.
- CODE_CHECKED_TO_VERSION = 9223372036854775807¶
- DEFAULT_STORAGE = '/root/TVB_TEST'¶
- REVISION_NUMBER = 1¶
- TRADE_CRASH_SAFETY_FOR_SPEED = True¶
- TVB_CONFIG_FILE = '/root/.test.tvb.configuration'¶
- class tvb.config.profile_settings.WebSettingsProfile[source]¶
Bases:
BaseSettingsProfileSetting for working with storage and web interface
- LOGGER_CONFIG_FILE_NAME = 'logger_config.conf'¶
Subpackages¶
initPackagedatatypes_registryinitializerintrospector_registryIntrospectionRegistryIntrospectionRegistry.ADAPTERSIntrospectionRegistry.ALLEN_CREATOR_CLASSIntrospectionRegistry.ALLEN_CREATOR_MODULEIntrospectionRegistry.CONNECTIVITY_CLASSIntrospectionRegistry.CONNECTIVITY_MODULEIntrospectionRegistry.DATATYPESIntrospectionRegistry.DISCRETE_PSE_ADAPTER_CLASSIntrospectionRegistry.DISCRETE_PSE_ADAPTER_MODULEIntrospectionRegistry.ISOCLINE_PSE_ADAPTER_CLASSIntrospectionRegistry.ISOCLINE_PSE_ADAPTER_MODULEIntrospectionRegistry.MEASURE_METRICS_CLASSIntrospectionRegistry.MEASURE_METRICS_MODULEIntrospectionRegistry.SIIBRA_CREATOR_CLASSIntrospectionRegistry.SIIBRA_CREATOR_MODULEIntrospectionRegistry.SIMULATOR_CLASSIntrospectionRegistry.SIMULATOR_MODULE
import_adapters()import_dt_index()
model_manager
loggerPackage