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).
Very high levels of firing ranges, outside of a physiological range, might indicate noise contamination.
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).
spikeinterface.qualitymetrics.misc_metrics.compute_firing_ranges
Designed by Simon Musall and adapted to SpikeInterface by Alessio Buccino.