neuroarch.na.NeuroArch.add_Tract
- NeuroArch.add_Tract(name, synonyms=None, morphology=None, data_source=None)[source]
Create a Subregion record and link it to related node types.
- Parameters:
name (str) – Name of the tract (abbreviation is preferred, full name can be given in the synonyms)
synonyms (list of str) – Synonyms of the synonyms.
morphology (dict (optional)) – Morphology of the neuropil boundary specified with a triangulated mesh, with fields ‘vertices’: a single list of float, every 3 entries specify (x,y,z) coordinates. ‘faces’: a single list of int, every 3 entries specify samples of vertices. Or, specify the file path to a json file that includes the definition of the mesh. Or, specify only a url which can be readout later on.
data_source (models.DataSource (optional)) – The datasource. If not specified, default DataSource will be used.
- Returns:
Created Tract object
- Return type: