coherenceTimeline property

List<List<double>> get coherenceTimeline

Coherence timeline for charts: secondsFromStart, coherenceValue.

Implementation

List<List<double>> get coherenceTimeline {
  if (_startedAt == null) return [];
  // Downsample to 1 reading per second max
  return _coherenceReadings.asMap().entries.map((e) =>
      [e.key.toDouble(), e.value]).toList();
}