filter

package
Version: v0.0.0-...-11fc026 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByRecent

func ByRecent(list api.SeriesList, count int, summary func([]float64) float64, lowest bool, slots int) api.SeriesList

ByRecent reduces the number of things in the series `list` to at most the given `count`. However, it only considered recent points when evaluating their ordering.

func ThresholdByRecent

func ThresholdByRecent(list api.SeriesList, threshold float64, summary func([]float64) float64, below bool, slots int) api.SeriesList

ThresholdByRecent reduces the number of things in the series `list` to those whose `summar` is at at least/at most the threshold. However, it only considers the data points as recent as the duration permits.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL