Class TimeInterval
Represents an operator that records the time interval between consecutive values produced by an observable sequence.
For each element in the source sequence, TimeInterval
measures the time elapsed between the arrival of that element and the previous element. Time zero is the start of the sequence (i.e. the moment of subscription).
Example
Use TimeInterval
to measure the time elapsed between consecutive elements.
Measure Camera Frame Rate
Use TimeInterval
to calculate the rate of camera frame acquisition.
Note
This example requires the Bonsai.Vision
package to be installed.
[Combinator]
public class TimeInterval
- Inheritance
-
TimeInterval
- Inherited Members
Methods
- Process<TSource>(IObservable<TSource>)
Records the time interval between consecutive values produced by an observable sequence.