Exemplo n.º 1
0
 private void Reset()
 {
     _eventHistory.Reset();
     _series.Clear();
     MultiAnalyzer.Reset();
     BaselineMouse.Reset();
     SubjectMouse.Reset();
     Plot.Series.Clear();
     Plot.InvalidatePlot(updateData: true);
 }
Exemplo n.º 2
0
        private void UpdateAnalysis()
        {
            _bufferCount = 0;
            var moves = MultiAnalyzer.Update(_eventHistory.Moves);

            foreach (var mouse in _eventHistory.Mice)
            {
                var series = SeriesForMouse(mouse);
                series.ItemsSource = MovesToPositions(moves.Where(m => m.Mouse == mouse));
            }
            Plot.InvalidatePlot(updateData: true);
        }
Exemplo n.º 3
0
 private void AfterDeserialization()
 {
     // BackwardsCompatibility3.3
     #region Backwards compatible code, remove with 3.4
     if (Parameters["Analyzer"] is FixedValueParameter <MultiAnalyzer> )
     {
         MultiAnalyzer analyzer = AnalyzerParameter.Value;
         Parameters.Remove("Analyzer");
         Parameters.Add(new ValueParameter <MultiAnalyzer>("Analyzer", "The analyzers that are applied after each iteration.", analyzer));
     }
     #endregion
     RegisterEventHandlers();
 }