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:
object
Base 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:
WebSettingsProfile
Profile which allows you to work in tvb with storage enable, but in console mode.
- class tvb.config.profile_settings.TestPostgresProfile[source]¶
Bases:
TestSQLiteProfile
Defines settings for running tests on a Postgres database.
- class tvb.config.profile_settings.TestSQLiteProfile[source]¶
Bases:
WebSettingsProfile
Defines 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:
BaseSettingsProfile
Setting for working with storage and web interface
- LOGGER_CONFIG_FILE_NAME = 'logger_config.conf'¶
Subpackages¶
init
Packagedatatypes_registry
initializer
introspector_registry
IntrospectionRegistry
IntrospectionRegistry.ADAPTERS
IntrospectionRegistry.ALLEN_CREATOR_CLASS
IntrospectionRegistry.ALLEN_CREATOR_MODULE
IntrospectionRegistry.CONNECTIVITY_CLASS
IntrospectionRegistry.CONNECTIVITY_MODULE
IntrospectionRegistry.DATATYPES
IntrospectionRegistry.DISCRETE_PSE_ADAPTER_CLASS
IntrospectionRegistry.DISCRETE_PSE_ADAPTER_MODULE
IntrospectionRegistry.ISOCLINE_PSE_ADAPTER_CLASS
IntrospectionRegistry.ISOCLINE_PSE_ADAPTER_MODULE
IntrospectionRegistry.MEASURE_METRICS_CLASS
IntrospectionRegistry.MEASURE_METRICS_MODULE
IntrospectionRegistry.SIIBRA_CREATOR_CLASS
IntrospectionRegistry.SIIBRA_CREATOR_MODULE
IntrospectionRegistry.SIMULATOR_CLASS
IntrospectionRegistry.SIMULATOR_MODULE
import_adapters()
import_dt_index()
model_manager
logger
Package