Skip to content

dive-math / deco / withOxygen

Function: withOxygen() ​

withOxygen(segments, opts?): PlannedSegment[]

Defined in: deco/report.ts:126

Segments with cumulative CNS % and OTU at each segment's end. CNS is cnsTotals over the exposures up to and including the segment.

Parameters ​

segments ​

readonly SegmentDraft[]

opts? ​

OxygenOptions

Returns ​

PlannedSegment[]

Example ​

ts
withOxygen(drafts).at(-1)?.cnsPercent

Reference only — verify every fill and dive plan independently.