Measures the mode of the data vector using histograms with a given number
of bins.
- Parameters:
- y : array-like
The input time series.
- num_bins : int, optional
The number of bins to use in the histogram. Default is 10.
- do_simple : bool, optional
Whether to use a simple binning method (linearly spaced bins). Default is True.
- Returns:
The mode of the data vector using histograms with num_bins bins.
- Return type:
float