Skip to content

dive-math / deco / finishPlan

Function: finishPlan() ​

finishPlan(r, parts): DivePlan

Defined in: deco/plan.ts:303

Assemble a plan from bottom and ascent parts plus reports.

Parameters ​

r ​

ResolvedPlanInput

parts ​

endTissues ​

Tissues

firstStopM ​

number | null

segments ​

SegmentDraft[]

stops ​

DecoStop[]

warnings ​

PlanWarning[]

Returns ​

DivePlan

Example ​

ts
finishPlan(r, { segments, stops, endTissues, firstStopM: null, warnings: [] }).runtimeMinutes

Reference only — verify every fill and dive plan independently.