neuroarch.na.NeuroArch.add_Subsystem

NeuroArch.add_Subsystem(name, synonyms=None, morphology=None, data_source=None)[source]

Create a Subsystem record and link it to related node types.

Parameters:
  • name (str) – Name of the subsystem (abbreviation is preferred, full name can be given in the synonyms)

  • synonyms (list of str) – Synonyms of the subsystem.

  • 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 Subsystem object

Return type:

models.Subsystem