Copyright | (c) Daniel Lovasko 2016-2017 |
---|---|
License | BSD3 |
Maintainer | Daniel Lovasko <daniel.lovasko@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
The Story type provides an easy-to-use high-level interface to a time series object. This module implements the building of the time series structure and enables interval queries that return value points.
Documentation
Representation of a time series object. The constructor arguments are as follows: * time window size * current time window number * times fluid * values fluid
Add new time/value pair to the story. The function will return Nothing in case that the value was invalid (NaN or Infinity) or when the time was invalid with respect to previously added times (breaking the series monotonicity).
Output a list of all time/value pairs stored in the story.
Create a new empty story. The ratio of raw/compressed sections is 12/74. These fields will be configurable in the future versions of the module.