VOX analysis specification.
This document describes the implemented browser-side process for R-R artifact correction, DFA Alpha 1 threshold detection, advanced VO2max estimation, and autonomic recovery analysis.
Pre-Processing & Artifact Correction
Raw R-R intervals recorded during maximal exertion are highly susceptible to ectopic beats and signal noise. To calculate fractal scaling exponents (DFA ) accurately, artifacts must be corrected without disrupting the time-series integrity.
1. Global Plausibility Cutoff
All intervals falling outside physiological absolutes are flagged as artifacts:
2. Adaptive Windowed Median Filtering
To account for the rapid chronotropic trend during a ramp test, a localized moving window () is applied. The local median is calculated for each interval:
An interval is flagged if its absolute deviation exceeds a dynamic 20% physiological threshold:
3. Cubic Spline Interpolation
Flagged artifacts are not deleted, as doing so would shift the frequency spectrum and destroy fractal continuity. Instead, valid points are used to fit a 3rd-degree polynomial cubic spline. The artifact indices are overwritten with these interpolated values, yielding a continuous, sanitized time series rr_clean.
Metabolic Thresholds via Non-Linear HRV
The engine utilizes Detrended Fluctuation Analysis (DFA) to measure the fractal correlation properties of the rr_clean time series. As metabolic stress and hydrogen ion () accumulation increase, parasympathetic withdrawal forces the sinoatrial node from a complex fractal state to a rigid, uncorrelated state.
1. Short-Term Scaling Exponent
The RR time series is integrated, divided into local windows, and linearly detrended. The root-mean-square fluctuation is calculated across window sizes . The scaling exponent is derived from the slope of the log-log plot:
2. Threshold Identification
The pipeline computes DFA dynamically over moving time windows to identify precise physiological phase transitions.
- Aerobic Threshold (VT1): the exact interpolated timestamp and running speed where drops below .
- Anaerobic Threshold (VT2): the timestamp where reaches .
Advanced VO2max Modeling
Standard metabolic equations assume steady-state conditions, which systematically overestimate oxygen consumption in progressive ramp protocols. VOX uses a multi-variable fusion model to correct mechanical estimations using autonomic efficiency metrics.
1. Mechanical Baseline (ACSM)
Oxygen consumption is calculated based on peak speed in m/min and fractional incline :
2. Ramp Protocol Calibration (Foster Correction)
The Foster equation corrects the steady-state overestimation inherent in the ACSM model during maximal ramp testing:
3. Aerodynamic Penalty
If the treadmill test was performed at incline, a 2% penalty is applied at speeds to account for the lack of outdoor wind resistance:
4. The Metabolic Economy Modifier
Running economy is quantified by analyzing how deep into the mechanical protocol the athlete remained in an aerobic state. Instead of comparing raw speeds, the engine compares the full ACSM metabolic cost at VT1 against the ACSM metabolic cost at peak load, including both speed and incline:
Assuming a baseline of , an economy modifier adjusts oxygen demand:
5. Physiological Cross-Validation & Final Fusion
The mechanically derived VO2max is cross-validated against the Uth-Sørensen HR-ratio:
The final reported VO2max uses an 80/20 weighted fusion:
Autonomic Recovery Dynamics
Post-exertion data is isolated to evaluate capacity for lactate clearance and parasympathetic reactivation.
1. Heart Rate Recovery
Heart rate recovery is measured at exactly 60 and 120 seconds post-termination ():
2. Recovery DFA Alpha 1
The scaling exponent is recalculated exclusively for the to window. A persistent value near indicates severe cellular acidosis blocking vagal tone, while a rapid return toward indicates superior metabolic clearance mechanisms.