brainbox.metrics.electrode_drift

Functions

estimate_drift

Electrode drift for spike sorted data.

estimate_drift(spike_times, spike_amps, spike_depths, display=False)[source]

Electrode drift for spike sorted data.

Parameters:
  • spike_times

  • spike_amps

  • spike_depths

  • display

Returns:

drift (ntimes vector) in input units (usually um)

Returns:

ts (ntimes vector) time scale in seconds