neuroarch.na.NeuroArch.remove_Neurons
- NeuroArch.remove_Neurons(neurons, data_source=None, safe=True)[source]
Remove neurons
- Parameters:
neurons (list of models.Neuron or str) – The neurons to be removed from database. All synapses, data associated with these neurons will also be removed
data_source (model.DataSource) – The DataSource from which the neurons will be moved, if str (as uname of neurons) are provided to the neurons parameter.
safe (bool) – 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.