dive-math / oxygen / cnsTotals
Function: cnsTotals()
cnsTotals(
exposures,opts?):CnsTotals
Defined in: oxygen.ts:206
CNS totals over exposures (no decay). daily uses the NOAA 24-hour column for every NOAA lookup; the Hoyt budgets stay 240 min per phase. See CnsTotals for the Hoyt 2025 rule.
Parameters
exposures
readonly Exposure[]
opts?
daily?
boolean
limits?
Returns
Example
ts
cnsTotals([{ ppo2: 1.3, minutes: 240, phase: 'working' }], { limits: 'hoyt-2025' }).working // 100