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: builtins.object

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

For a model entity, return a equivalent dictionary.

generic_attributes

class tvb.core.entities.generic_attributes.GenericAttributes[source]

Bases: builtins.object

Model class to hold generic attributes that we want to keep on all H5 file that correspond to a datatype. It is used by the H5File in order to populate the corresponding H5 attributes (meta-data).

create_date = None
fill_from(extra_attributes)[source]
invalid = False
is_nan = False
state = ''
subject = ''
type = ''
user_tag_1 = ''
user_tag_2 = ''
user_tag_3 = ''
user_tag_4 = ''
user_tag_5 = ''
visible = True

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.