spark.timeseries.TimeSeriesSpark

IdleEnergyTupleDetector

class IdleEnergyTupleDetector extends MeasurementRunDetector[(Double, Double, Double)]

Detect periods of activity from a data file of scala.Tuple3 of scala.Doubles where each Tuple consists of time, current, and voltage values.

Detection of activity is based on the average power (in mW) being above a given threshold idle_thresh. The average is calculated over a period of windowLength tuples.

Annotations
@deprecated
Deprecated

scala.this.deprecated.init$default$1

Linear Supertypes
MeasurementRunDetector[(Double, Double, Double)], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. IdleEnergyTupleDetector
  2. MeasurementRunDetector
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IdleEnergyTupleDetector (idle_thresh: Double, windowLength: Int)

    idle_thresh

    The power threshold above which values are considered activity.

    windowLength

    The number of tuples that averages are calculated over, and compared to idle_thresh.

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  9. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  12. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  13. def inRun (): Boolean

    Definition Classes
    IdleEnergyTupleDetector → MeasurementRunDetector
  14. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  15. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  16. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  17. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  18. def prepend (): Queue[(Double, Double, Double)]

    Definition Classes
    IdleEnergyTupleDetector → MeasurementRunDetector
  19. var q : Queue[(Double, Double, Double)]

  20. def ready (): Boolean

    Definition Classes
    IdleEnergyTupleDetector → MeasurementRunDetector
  21. var readyDelay : Int

  22. def reset (): Unit

    Definition Classes
    IdleEnergyTupleDetector → MeasurementRunDetector
  23. def splitChanged (): Unit

    Definition Classes
    IdleEnergyTupleDetector → MeasurementRunDetector
  24. var sum : Double

  25. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  26. def toString (): String

    Definition Classes
    AnyRef → Any
  27. def update (sample: (Double, Double, Double)): Unit

    Definition Classes
    IdleEnergyTupleDetector → MeasurementRunDetector
  28. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  29. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  30. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from MeasurementRunDetector[(Double, Double, Double)]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any