Interface: TemporalSeriesPoint
@kortexya/reasoninglayer / Temporal / TemporalSeriesPoint
Interface: TemporalSeriesPoint
Defined in: src/types/temporal.ts:428
One emitted aggregate of a temporal series.
Remarks
aggregate is the operator’s primary output (mean / sum / count / variance /
min / rate / running average). aggregateSecondary carries the second output
for the operators that have one: variance → standard deviation,
window_min_max → max, window_rate → span in seconds.
bucketEnd is exclusive, and absent for non-windowed points (EWMA).
Example
for (const point of series.points) { console.log(new Date(point.bucketStart), point.aggregate, point.count);}Properties
aggregate
aggregate:
number
Defined in: src/types/temporal.ts:439
Primary aggregate.
aggregateSecondary?
optionalaggregateSecondary:number
Defined in: src/types/temporal.ts:442
Secondary aggregate, for the operators that produce two.
bucketEnd?
optionalbucketEnd:number
Defined in: src/types/temporal.ts:433
Bucket end, exclusive (epoch-milliseconds). Absent for non-windowed points.
bucketStart
bucketStart:
number
Defined in: src/types/temporal.ts:430
Bucket start (epoch-milliseconds), or the point timestamp for EWMA.
count
count:
number
Defined in: src/types/temporal.ts:436
Observations contributing to this point.