Calculate the mean interval in milliseconds for each node. Returns: IntervalsFloatView: A lazy view over the mean interval between consecutive timestamps for each node. The mean is None if there is fewer than 1 interval.
(
&self,
)
| 54 | /// Returns: |
| 55 | /// IntervalsFloatView: A lazy view over the mean interval between consecutive timestamps for each node. The mean is None if there is fewer than 1 interval. |
| 56 | pub fn mean( |
| 57 | &self, |
| 58 | ) -> LazyNodeState< |
| 59 | 'static, |
| 60 | ArrowMap<Map<HistoryIntervals<DynamicGraph>, Option<f64>>, AvgIntervalStruct>, |
| 61 | DynamicGraph, |
| 62 | DynamicGraph, |
| 63 | DynNodeFilter, |
| 64 | > { |
| 65 | let op = self.inner.op.clone().map(|v| v.mean()); |
| 66 | LazyNodeState::new(op.into_arrow_node_op(), self.inner.nodes()) |
| 67 | } |
| 68 | |
| 69 | /// Calculate the median interval in milliseconds for each node. |
| 70 | /// |
nothing calls this directly
no test coverage detected