Observation class final Getting started

A single scalar measurement at a point in time.

time is a plain double in the caller's own unit, and the components' process variances are expressed per that unit. The default search brackets in fit suit days; TimeAxis converts calendar dates to days.

Implemented types

Constructors

Observation(double time, double value, {double relativeVariance = 1.0})
A reading of value taken at time.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
relativeVariance → double
Noise variance of this reading relative to the model's measurement variance, so the effective noise is relativeVariance * model.measurementVariance.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
time → double
When the reading was taken, in the caller's own time unit.
final
value → double
What was read.
final

Methods

compareTo(Observation other) → int
Compares this object to another object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override