object TimeSeries extends Serializable
- Alphabetic
- By Inheritance
- TimeSeries
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
diffOverflow[V](ts: TimeSeries[V], overflowValue: V)(implicit arg0: Numeric[V], num: Numeric[V]): TimeSeries[V]
Return new series with difference between 2 points with the possibility of overflow value Use case: Older sensor equipment often used simple counters to record events.
Return new series with difference between 2 points with the possibility of overflow value Use case: Older sensor equipment often used simple counters to record events. These counters would continue to some max value (i.e. 100) and then rollover to 0
-
def
differentiate[V](ts: TimeSeries[V])(implicit arg0: Numeric[V], num: Numeric[V]): TimeSeries[V]
Return new series with difference between 2 points
-
def
empty[V](implicit arg0: Numeric[V]): TimeSeries[V]
Create empty series
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromTimestamps[V](rows: Seq[(Long, V)])(implicit arg0: Numeric[V]): TimeSeries[V]
Create TimeSeries from timestamps
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
integrate[V](ts: TimeSeries[V])(implicit arg0: Numeric[V], num: Numeric[V]): TimeSeries[V]
Accumulate sum for each point
-
def
integrateByTime[V](ts: TimeSeries[V], g: (LocalDateTime) ⇒ LocalDateTime)(implicit arg0: Numeric[V], num: Numeric[V]): TimeSeries[V]
Integrate series for selected window.
Integrate series for selected window. Windows are not overlapping and sum starts at 0 at the beginning of each window
-
def
interpolate[V](xs: TimeSeries[V], delta: Duration)(implicit arg0: Numeric[V], num: Fractional[V]): TimeSeries[V]
Return new series by interpolate missing points
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
step[V](ts: TimeSeries[V], d: Duration)(implicit arg0: Fractional[V], num: Fractional[V]): TimeSeries[V]
This function resamples index.
This function resamples index. But the values are not interpolated but just fractions of current values. For example if we have value 10 every hour and we run step with 15 minutes range we will get values 2.5 every 15 minutes (10/4)
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )