private static CepStream<double> detect(CepStream<double> inputStream) { return from win in inputStream.TumblingWindow<double>(TimeSpan.FromMinutes(6)) select win.BraidAgg<double>(e => e); }