InciensoTracker class

Tracks INCIENSO count in real-time during a Cámara Neom session.

Listens to breath cycle events and coherence readings. Each qualifying cycle (coherence ≥ threshold) increments the count.

Usage:

final tracker = InciensoTracker();
tracker.start();
// On each breath cycle completion:
tracker.onBreathCycle(coherence: 0.85);
// Read current count:
print(tracker.inciensoCount); // qualifying cycles
print(tracker.totalCycles);   // all cycles
tracker.stop();
Inheritance

Constructors

InciensoTracker()

Properties

avgBreathCycleMs double
Average breath cycle duration in ms.
no setter
avgCoherence double
Average coherence across all readings.
no setter
breathCV double
Coefficient of variation of breath cycles.
no setter
coherenceStdDev double
Coherence standard deviation.
no setter
coherenceTimeline List<List<double>>
Coherence timeline for charts: secondsFromStart, coherenceValue.
no setter
dominantState → NeomNeuroState
Most time-spent state.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
inciensoCount int
Qualifying breath cycles (coherence ≥ 70%).
no setter
isTracking bool
Whether currently tracking.
no setter
minCoherence double
Minimum coherence during session.
no setter
peakCoherence double
Peak coherence reached.
no setter
qualityRatio double
Quality ratio: qualifying / total.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startedAt DateTime?
When tracking started.
no setter
stateTimeMap Map<NeomNeuroState, int>
Time spent per neuro state (seconds).
no setter
stateTransitions int
Number of state transitions.
no setter
totalCycles int
Total breath cycles detected.
no setter

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
dispose() → void
Discards any resources used by the object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
onBreathCycle({required double coherence}) → void
Call when a complete breath cycle is detected. coherence is the hemispheric coherence at cycle completion (0.0–1.0).
onCoherenceReading(double coherence) → void
Call when a coherence reading is available (continuous, not just on cycles).
onStateChanged(NeomNeuroState newState) → void
Call when the neuro state changes.
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
start() → void
Start tracking a new session.
stop() → void
Stop tracking.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

coherenceThreshold → const double
Minimum coherence to qualify as 1 INCIENSO.