Skip to content

dive-math / deco / planDive

Function: planDive() ​

planDive(input): DivePlan

Defined in: deco/plan.ts:344

Plan a multi-level dive: the bottom levels as given, then the ascent with decompression stops.

Parameters ​

input ​

PlanInput

Returns ​

DivePlan

Example ​

ts
planDive({ levels: [{ depthM: 30, minutes: 20, breathing: { kind: 'oc', gas: AIR } }], gfLow: 0.4, gfHigh: 0.85 }).runtimeMinutes

Reference only — verify every fill and dive plan independently.