nabu.misc.filters module

nabu.misc.filters.correct_spikes(image, threshold)[source]

Perform a conditional median filtering The filtering is done in-place, meaning that the array content is modified.

Parameters:
  • image (numpy.ndarray) – Image to filter

  • threshold (float) – Median filter threshold