TheVirtualBrain:

TheDocumentationwebsite.

Table Of Contents

Previous topic

datatypes Package

Next topic

operations Package

This Page

importers Package

brain_tumor_connectivity_importer

Import connectivities from Brain Tumor zip archives

tvb.interfaces.command.demos.importers.brain_tumor_connectivity_importer.import_surface_rm(project_id, conn_gid)[source]
tvb.interfaces.command.demos.importers.brain_tumor_connectivity_importer.import_tumor_connectivities(project_id, folder_path)[source]

h5_import

Launch an operation from the command line

tvb.interfaces.command.demos.importers.h5_import.import_h5(file_path, project_id)[source]

new_importer

Adapter example.

class tvb.interfaces.command.demos.importers.new_importer.FooDataImporter[source]

Bases: tvb.core.adapters.abcuploader.ABCUploader

get_form_class()[source]
get_output()[source]
launch(view_model)[source]
logger = <Logger tvb.interfaces.command.demos.importers.new_importer (DEBUG)>
class tvb.interfaces.command.demos.importers.new_importer.FooDataImporterForm[source]

Bases: tvb.core.adapters.abcuploader.ABCUploaderForm

static get_upload_information()[source]
static get_view_model()[source]
class tvb.interfaces.command.demos.importers.new_importer.FooDataImporterModel(**kwargs)[source]

Bases: tvb.core.neotraits.uploader_view_model.UploaderViewModel

array_data : tvb.interfaces.command.demos.importers.new_importer.FooDataImporterModel.array_data = Str(field_type=<class ‘str’>, default=None, required=True)

data_subject : tvb.core.neotraits.uploader_view_model.UploaderViewModel.data_subject = Str(field_type=<class ‘str’>, default=’John Doe’, required=True)

encrypted_aes_key : tvb.core.neotraits.uploader_view_model.UploaderViewModel.encrypted_aes_key = Str(field_type=<class ‘str’>, default=None, required=False)
Check our demo notebook on how to produce this key and how we expect your files to be encrypted

operation_group_gid : tvb.core.neotraits.view_model.ViewModel.operation_group_gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=False)

ranges : tvb.core.neotraits.view_model.ViewModel.ranges = Attr(field_type=<class ‘str’>, default=None, required=False)

range_values : tvb.core.neotraits.view_model.ViewModel.range_values = Attr(field_type=<class ‘str’>, default=None, required=False)

is_metric_operation : tvb.core.neotraits.view_model.ViewModel.is_metric_operation = Attr(field_type=<class ‘bool’>, default=False, required=True)

gid : tvb.basic.neotraits._core.HasTraits.gid = Attr(field_type=<class ‘uuid.UUID’>, default=None, required=True)

array_data

new_importer_launcher

Launch an operation from the command line