kumulant

ExcursionResult

@Serializable
@SerialName(value = "ExcursionResult")
data class ExcursionResult(val peak: Double, val peakTimestampNanos: Long, val trough: Double, val troughTimestampNanos: Long, val maxExcursion: Double, val currentRecovery: Double) : Result(source)

Running peak / trough excursion summary.

Constructors

ExcursionResult

constructor(peak: Double, peakTimestampNanos: Long, trough: Double, troughTimestampNanos: Long, maxExcursion: Double, currentRecovery: Double)(source)

Properties

currentRecovery

peak - lastValue; how far the latest observation sits below the all-time peak.

maxExcursion

Largest peak_at_time - subsequent_trough observed across the stream.

peak

Highest value observed so far.

peakTimestampNanos

Timestamp (nanoseconds) at which peak was set.

trough

Lowest value observed strictly after the peak was last set.

troughTimestampNanos

Timestamp of trough; equal to peakTimestampNanos if no post-peak observation exists.