estimate_mode#

mufasa.signals.estimate_mode(data, bins=25)[source]#

Estimate the mode of the data using a histogram.

Parameters:
  • data (ndarray) – The data for which to estimate the mode. Non-finite values will be ignored.

  • bins (int, optional) – Number of bins to use for the histogram. Default is 25.

Returns:

The estimated mode of the data.

Return type:

float