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. :param spike_times: :param spike_amps: :param spike_depths: :param display: :return: drift (ntimes vector) in input units (usually um) :return: ts (ntimes vector) time scale in seconds