Skip to content

dive-math / deco / oxygenTotals

Function: oxygenTotals() ​

oxygenTotals(segments, opts?): CnsTotals & object

Defined in: deco/report.ts:144

CNS and OTU over the plan (each segment at its mean ppO₂).

Parameters ​

segments ​

readonly SegmentDraft[]

opts? ​

OxygenOptions

Returns ​

CnsTotals & object

Example ​

ts
oxygenTotals(plan.segments) // { limits: 'noaa-1991', cnsPercent: 8.2, otu: 31 }

Reference only — verify every fill and dive plan independently.