protected override async Task interimActionAsync() { for (int i = SmoothedData.Count; i < VectorProvider.LoggedData.Count; i++) { SmoothedData.Add(VectorProvider.LoggedData[i]); } PeakFinder.ConsiderAllAvailable(); // Will cause FindBestSequence() to fire, if indeed it has (now) found one. }
protected override bool nextStageCriterion() { ProcessedData.Add(Evasion.ProcessData(Provider)); Timestamps.Add(Timestamps.LastOrDefault() + Provider.Interval); return(Stopwatch.Elapsed >= Incoming.AcquisitionTime); }