goat-1.0.0: Time Series Compression

Copyright(c) Daniel Lovasko 2016-2017
LicenseBSD3
MaintainerDaniel Lovasko <daniel.lovasko@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Codec.Goat.TimeFrame

Description

 

Synopsis

Documentation

data TimeFrame Source #

Succinct representation of a list of time points. The constructor arguments are as follows: * first time point * second time point * number of valid bits * bits

Instances

Eq TimeFrame Source # 
Show TimeFrame Source #

Pretty-printing of the TimeFrame type.

Serialize TimeFrame Source #

Binary serialization of the TimeFrame type. All integers are using the big-endian byte order.

Frame Word32 TimeFrame Source #

Binding of Word32 and TimeFrame.

timeDecode Source #

Arguments

:: TimeFrame

succinct frame form

-> [Word32]

time points

Unpack time points from the succinct frame.

timeEncode Source #

Arguments

:: [Word32]

time points

-> TimeFrame

succinct frame form

Pack a list of _ascending_ time points into a succinct frame form.