Calculate the median interval in milliseconds for each node. Returns: IntervalsIntegerView: A lazy view over the median interval between consecutive timestamps for each node. The median is None if there is fewer than 1 interval.
(
&self,
)
| 71 | /// Returns: |
| 72 | /// IntervalsIntegerView: A lazy view over the median interval between consecutive timestamps for each node. The median is None if there is fewer than 1 interval. |
| 73 | pub fn median( |
| 74 | &self, |
| 75 | ) -> LazyNodeState< |
| 76 | 'static, |
| 77 | ArrowMap<Map<HistoryIntervals<DynamicGraph>, Option<i64>>, IntervalStruct>, |
| 78 | DynamicGraph, |
| 79 | DynamicGraph, |
| 80 | DynNodeFilter, |
| 81 | > { |
| 82 | let op = self.inner.op.clone().map(|v| v.median()); |
| 83 | LazyNodeState::new(op.into_arrow_node_op(), self.inner.nodes()) |
| 84 | } |
| 85 | |
| 86 | /// Calculate the maximum interval in milliseconds for each node. |
| 87 | /// |
nothing calls this directly
no test coverage detected