TimeSeries

object TimeSeries

Companion for TimeSeries.

Companion for TimeSeries.

class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[F[_], A](source: Stream[F, TimeStamped[A]], tickPeriod: FiniteDuration, reorderOver: FiniteDuration)(`evidence$1`: Temporal[F]): TimeSeries[F, A]

Stream of either time ticks (spaced by tickPeriod) or values from the source stream.

Stream of either time ticks (spaced by tickPeriod) or values from the source stream.

def choice[L, R, O](l: Transform[TimeSeriesValue[L], O], r: Transform[TimeSeriesValue[R], O]): Transform[TimeSeriesValue[Either[L, R]], O]

Combinator that combines a Transform[TimeSeriesValue[L],O] and a Transform[TimeSeriesValue[R],O] in to a Transform[TimeSeriesVlaue[Either[L,R],O]].

Combinator that combines a Transform[TimeSeriesValue[L],O] and a Transform[TimeSeriesValue[R],O] in to a Transform[TimeSeriesVlaue[Either[L,R],O]].

def interpolateTicks[A](tickPeriod: FiniteDuration): (Pure, TimeStamped[A]) => TimeSeriesValue[A]

Stream transducer that converts a stream of timestamped values with monotonically increasing timestamps in to a stream of timestamped ticks or values, where a tick is emitted every tickPeriod. Ticks are emitted between values from the source stream.

Stream transducer that converts a stream of timestamped values with monotonically increasing timestamps in to a stream of timestamped ticks or values, where a tick is emitted every tickPeriod. Ticks are emitted between values from the source stream.

def lift[F[_], A](source: Stream[F, A], tickPeriod: FiniteDuration, reorderOver: FiniteDuration)(`evidence$2`: Temporal[F]): TimeSeries[F, A]

Stream of either time ticks (spaced by tickPeriod) or values from the source stream.

Stream of either time ticks (spaced by tickPeriod) or values from the source stream.

def preserve[I, O](t: Transform[I, O]): Aux[S, TimeSeriesValue[I], TimeSeriesValue[O]]

Combinator that converts a Transform[I, O] in to a Transform[TimeSeriesValue[I], TimeSeriesValue[O]] such that timestamps are preserved on elements that flow through the stream.

Combinator that converts a Transform[I, O] in to a Transform[TimeSeriesValue[I], TimeSeriesValue[O]] such that timestamps are preserved on elements that flow through the stream.

Combinator that converts a Transform[TimeStamped[A], TimeStamped[B]] in to a Transform[TimeSeriesValue[A], TimeSeriesValue[B]] such that timestamps are preserved on elements that flow through the stream.

Combinator that converts a Transform[TimeStamped[A], TimeStamped[B]] in to a Transform[TimeSeriesValue[A], TimeSeriesValue[B]] such that timestamps are preserved on elements that flow through the stream.