BreathingMetrics class

Numeric metrics computed by the 4-pillar detector.

Constructors

BreathingMetrics({required double peakHz, required double peakBpm, required double coherence, required double rsaBpm, required double relativePower, required int criteriaMet, required double confidence})
const
BreathingMetrics.fromJson(Map<String, dynamic> json)
factory

Properties

coherence → double
Coherence score (peak power / power in 0.04–0.26 Hz band), 0..1.
final
confidence → double
Mean of normalized pillar scores, 0..1.
final
criteriaMet → int
Number of compliance pillars met (0..4).
final
hashCode → int
The hash code for this object.
no setterinherited
peakBpm → double
Detected breathing rate in breaths/minute (= peakHz * 60).
final
peakHz → double
Detected breathing peak frequency in Hz.
final
relativePower → double
Peak power as a fraction of total breathing-band power, 0..1.
final
rsaBpm → double
RSA amplitude (mean per-cycle HR_max − HR_min), in BPM.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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