neuroarch.na.NeuroArch.remove_Synapses

NeuroArch.remove_Synapses(synapses, data_source=None, safe=True)[source]

Remove synapses.

Parameters:
  • synapses (list of models.Synapse, models.InferredSynapse or str) – The synapses to be removed from database. All data associated with these neurons will also be removed

  • data_source (model.DataSource (optional)) – The DataSource from which the synapses will be found will be removed, if str (as uname of synapses) are provided to the neuron parameter.

  • safe (bool (optional)) – If safe is True, will check every item in the neurons list if it is owned by the data_source. Otherwise, if models.Neuron is provided, will not check.