The Virtual Brain Project

Table Of Contents

Previous topic

code_update_scripts Package

Next topic

file Package

This Page

entities Package

exportable

class tvb.core.entities.exportable.Exportable[source]

Bases: object

from_dict(dictionary)[source]
to_dict(excludes=None)[source]

For a model entity, return a equivalent dictionary.

load

Higher level entity loading. .. moduleauthor:: Mihai Andrei <mihai.andrei@codemart.ro>

tvb.core.entities.load.get_class_by_name("package.module.class")[source]

is equivalent to from package.module import class

tvb.core.entities.load.get_filtered_datatypes(project_id, data_type_cls, filters=None, page_size=50)[source]

Return all dataTypes that match a given name and some filters. :param data_type_cls: either a fully qualified class name or a class object

tvb.core.entities.load.load_entity_by_gid(data_gid)[source]

Load a generic DataType, specified by GID.

model_manager

tvb.core.entities.model_manager.initialize_startup()[source]

Force DB tables create, in case no data is already found.

tvb.core.entities.model_manager.reset_database()[source]

Remove all tables in DB.