PyOpenWorm.data_trans.connections module¶
-
class
PyOpenWorm.data_trans.connections.ConnectomeCSVDataSource(*args, **kwargs)[source]¶ Bases:
PyOpenWorm.data_trans.csv_ds.CSVDataSourceA CSV data source whose CSV file describes a neural connectome
Basically, this is just a marker type to indicate what’s described in the CSV – there’s no consistent schema
-
class
PyOpenWorm.data_trans.connections.NeuronConnectomeCSVTranslator(**kwargs)[source]¶ Bases:
PyOpenWorm.data_trans.csv_ds.CSVDataTranslatorInput type(s):
PyOpenWorm.data_trans.connections.ConnectomeCSVDataSource,PyOpenWorm.data_trans.data_with_evidence_ds.DataWithEvidenceDataSourceOutput type(s):
PyOpenWorm.data_trans.data_with_evidence_ds.DataWithEvidenceDataSourceURI: http://openworm.org/entities/translators/NeuronConnectomeCSVTranslator
-
output_type¶ alias of
PyOpenWorm.data_trans.data_with_evidence_ds.DataWithEvidenceDataSource
-
translation_type¶ alias of
NeuronConnectomeCSVTranslation
-
make_translation(self, sources)[source]¶ It’s intended that implementations of DataTranslator will override this method to make custom Translations according with how different arguments to Translate are (or are not) distinguished.
The actual properties of a Translation subclass must be defined within the ‘translate’ method
-
-
class
PyOpenWorm.data_trans.connections.NeuronConnectomeSynapseClassTranslator(**kwargs)[source]¶ Bases:
PyOpenWorm.data_trans.csv_ds.CSVDataTranslatorAdds synapse classes to existing connections
-
output_type¶ alias of
PyOpenWorm.data_trans.data_with_evidence_ds.DataWithEvidenceDataSource
-
translation_type¶
-
make_translation(self, sources)[source]¶ It’s intended that implementations of DataTranslator will override this method to make custom Translations according with how different arguments to Translate are (or are not) distinguished.
The actual properties of a Translation subclass must be defined within the ‘translate’ method
-