The Virtual Brain Project

Table Of Contents

Previous topic

visualizers Package

Next topic

init Package

This Page

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: builtins.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: tvb.config.algorithm_categories.AlgorithmCategoryConfig

category_name = 'Analyze'
launchable = True
order_nr = 1
class tvb.config.algorithm_categories.CreateAlgorithmCategoryConfig[source]

Bases: tvb.config.algorithm_categories.AlgorithmCategoryConfig

category_name = 'Create'
defaultdatastate = 'RAW_DATA'
order_nr = 0
class tvb.config.algorithm_categories.SimulateAlgorithmCategoryConfig[source]

Bases: tvb.config.algorithm_categories.AlgorithmCategoryConfig

category_name = 'Simulate'
order_nr = 0
class tvb.config.algorithm_categories.UploadAlgorithmCategoryConfig[source]

Bases: tvb.config.algorithm_categories.AlgorithmCategoryConfig

category_name = 'Upload'
defaultdatastate = 'RAW_DATA'
order_nr = 999
rawinput = True
class tvb.config.algorithm_categories.ViewAlgorithmCategoryConfig[source]

Bases: tvb.config.algorithm_categories.AlgorithmCategoryConfig

category_name = 'View'
display = True
launchable = True
order_nr = 3

profile_settings

TVB global configurations are predefined/read from here, for working with Framework.

class tvb.config.profile_settings.CommandSettingsProfile(web_enabled=True)[source]

Bases: tvb.config.profile_settings.WebSettingsProfile

Profile which allows you to work in tvb with storage enable, but in console mode.

class tvb.config.profile_settings.TestPostgresProfile[source]

Bases: tvb.config.profile_settings.TestSQLiteProfile

Defines settings for running tests on a Postgres database.

class tvb.config.profile_settings.TestSQLiteProfile[source]

Bases: tvb.config.profile_settings.WebSettingsProfile

Defines settings for running tests on an SQLite database.

CODE_CHECKED_TO_VERSION = 9223372036854775807
DEFAULT_STORAGE = '/root/TVB_TEST'
SVN_VERSION = 1
TRADE_CRASH_SAFETY_FOR_SPEED = True
TVB_CONFIG_FILE = '/root/.test.tvb.configuration'
initialize_for_deployment()[source]

This profile will not be used in deployment, so we try to avoid problems due to too much initialization

initialize_profile(change_logger_in_dev=False)[source]
class tvb.config.profile_settings.WebSettingsProfile(web_enabled=True)[source]

Bases: tvb.basic.config.profile_settings.BaseSettingsProfile

Setting for working with storage and web interface

LOGGER_CONFIG_FILE_NAME = 'logger_config.conf'
initialize_for_deployment()[source]

Specific initialization for deployment and framework settings

initialize_profile(change_logger_in_dev=True)[source]

Specific initialization when functioning with storage