Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 1.05 KB

firing_range.rst

File metadata and controls

40 lines (23 loc) · 1.05 KB

Firing range (firing_range)

Calculation

The firing range indicates the dispersion of the firing rate of a unit across the recording. It is computed by taking the difference between the 95th percentile's firing rate and the 5th percentile's firing rate computed over short time bins (e.g. 10 s).

Expectation and use

Very high levels of firing ranges, outside of a physiological range, might indicate noise contamination.

Example code

import spikeinterface.qualitymetrics as sqm

# Make recording, sorting and wvf_extractor object for your data.
firing_range = sqm.compute_firing_ranges(waveform_extractor=wvf_extractor)
# firing_range is a dict containing the unit IDs as keys,
# and their firing firing_range as values (in Hz).

References

spikeinterface.qualitymetrics.misc_metrics.compute_firing_ranges

Literature

Designed by Simon Musall and adapted to SpikeInterface by Alessio Buccino.