A time data series which contains numeric (float) data. Includes additional methods
for calculating statistics on the numeric data series.
| C# | Visual Basic |
public interface INumericTimeDataSeries : ITimeDataSeries<float>, IEnumerable<ITimeValueEntry<float>>, IEnumerable
Public Interface INumericTimeDataSeries _ Implements ITimeDataSeries(Of Single), IEnumerable(Of ITimeValueEntry(Of Single)), _ IEnumerable
| All Members | Methods | Properties | |||
| Icon | Member | Description |
|---|---|---|
| Add(DateTime, T) |
Add the value at the specified time. If AllowMultipleAtSameTime is false or if there
is no entry at the specified elapsed time this sets the value at the specified time,
otherwise the value is added to to the end maintaining the time order.
(Inherited from ITimeDataSeries<(Of <(T>)>).) | |
| AllowMultipleAtSameTime |
If true, multiple entries can appear at the same elapsed time, if false only a single
entry will be present at each elapsed time. This is used for GPS routes, where points
may be placed more frequently than once per second, or on a track with no time data.
(Inherited from ITimeDataSeries<(Of <(T>)>).) | |
| Avg |
The weighted average (based on elapsed time) of the values.
| |
| Clear()()() |
Clear all entries from the collection.
(Inherited from ITimeDataSeries<(Of <(T>)>).) | |
| Count |
Get the count of items in the data series.
(Inherited from ITimeDataSeries<(Of <(T>)>).) | |
| EntryDateTime(ITimeValueEntry<(Of <(T>)>)) |
Return the DateTime of the specified entry. Shortcut to add StartTime + entry.ElapsedSeconds.
(Inherited from ITimeDataSeries<(Of <(T>)>).) | |
| GetEnumerator()()() | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<(Of <(ITimeValueEntry<(Of <(Single>)>)>)>).) | |
| GetEnumerator()()() | Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.) | |
| GetInterpolatedValue(DateTime) |
Returns a linear interpolated value based on existing data at the specified time.
(Inherited from ITimeDataSeries<(Of <(T>)>).) | |
| GetValueEnumerator()()() |
Returns an enumeration of the values.
(Inherited from ITimeDataSeries<(Of <(T>)>).) | |
| IndexOf(ITimeValueEntry<(Of <(T>)>)) |
Return the index position of the specified entry.
(Inherited from ITimeDataSeries<(Of <(T>)>).) | |
| Item[([(Int32])]) |
Return the value entry at the specified index.
(Inherited from ITimeDataSeries<(Of <(T>)>).) | |
| Max |
The maximum value found in the time series.
| |
| Min |
The minimum value found in the time series.
| |
| RemoveAt(Int32) |
Remove the entry at the specified index position.
(Inherited from ITimeDataSeries<(Of <(T>)>).) | |
| SetValueAt(Int32, T) |
Set the value at the specified index position.
(Inherited from ITimeDataSeries<(Of <(T>)>).) | |
| StartTime |
The start time of the data track. If Count is zero this value will be invalid.
(Inherited from ITimeDataSeries<(Of <(T>)>).) | |
| TotalElapsedSeconds |
The total elapsed seconds of the track.
(Inherited from ITimeDataSeries<(Of <(T>)>).) |