Skip to content

dive-math / deco / ascend

Function: ascend() ​

ascend(start, rules): AscentResult

Defined in: deco/ascent.ts:122

Ascend from a state to the surface, stopping on the stop grid until the GF ceiling at the next stop is clear. GF-low is anchored at the first stop.

Parameters ​

start ​

breathing ​

Breathing

depthM ​

number

runtimeMinutes ​

number

tissues ​

Tissues

rules ​

AscentRules

Returns ​

AscentResult

Example ​

ts
ascend({ tissues, depthM: 30, runtimeMinutes: 20, breathing: { kind: 'oc', gas: AIR } }, rules).runtimeMinutes

Reference only — verify every fill and dive plan independently.