solarforecastarbiter.validation.validator.detect_levels¶
-
solarforecastarbiter.validation.validator.
detect_levels
(x, count=3, num_bins=100)[source]¶ Detects plateau levels in data.
Parameters: Returns: levels (list of tuples) – (left, right) values of the interval in x with a detected plateau, in decreasing order of count of x values in the interval. List length is given by the kwarg count