We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ea6dc1 commit ec1751aCopy full SHA for ec1751a
source/mir/timeseries.d
@@ -68,20 +68,20 @@ import std.meta;
68
69
/++
70
Plain time moment data structure.
71
-Moment are used as return tuple for for indexing $(LREF Series).
+Observation are used as return tuple for for indexing $(LREF Series).
72
+/
73
-struct Moment(Time, Data)
+struct Observation(Time, Data)
74
{
75
/// Date, date-time, time, or integer.
76
Time time;
77
/// Value or ndslice.
78
Data data;
79
}
80
81
-/// Convenient function for $(LREF Moment) construction.
+/// Convenient function for $(LREF Observation) construction.
82
auto moment(Time, Data)(Time time, Data data)
83
84
- return Moment!(Time, Data)(time, data);
+ return Observation!(Time, Data)(time, data);
85
86
87
0 commit comments