importers
Package¶
brain_tumor_connectivity_importer
¶
Import connectivities from Brain Tumor zip archives
h5_import
¶
Launch an operation from the command line
new_importer
¶
Adapter example.
- class tvb.interfaces.command.demos.importers.new_importer.FooDataImporter[source]¶
Bases:
ABCUploader
- launch(view_model: FooDataImporterModel) TimeSeriesIndex [source]¶
To be implemented in each Adapter. Will contain the logic of the Adapter. Takes a ViewModel with data, dependency direction is: Adapter -> Form -> ViewModel Any returned DataType will be stored in DB, by the Framework.
- Parameters:
view_model – the data model corresponding to the current adapter
- logger = <Logger tvb.interfaces.command.demos.importers.new_importer (DEBUG)>¶
- class tvb.interfaces.command.demos.importers.new_importer.FooDataImporterForm[source]¶
Bases:
ABCUploaderForm
- class tvb.interfaces.command.demos.importers.new_importer.FooDataImporterModel(**kwargs)[source]¶
Bases:
UploaderViewModel
Traited class [tvb.interfaces.command.demos.importers.new_importer.FooDataImporterModel]¶
Attributes declared¶
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_keytvb.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