Skip to content

ndi.fun.probe.import.kilosort.removeold

  NDI.FUN.PROBE.IMPORT.KILOSORT.REMOVEOLD - remove a previous kilosort import

  NDI.FUN.PROBE.IMPORT.KILOSORT.REMOVEOLD(S, KC_DOC)

  Removes a previously imported set of kilosort neurons from the ndi.session S.
  KC_DOC is a 'kilosort_clusters' ndi.document. This function finds every
  'neuron_extracellular' document that depends on KC_DOC (via its spike_clusters_id
  dependency), removes those documents, removes the underlying neuron elements
  (including their epoch documents), and finally removes KC_DOC itself.

  See also: NDI.FUN.PROBE.IMPORT.KILOSORT.PROBE