Skip to content

dive-math / deco / gfAt

Function: gfAt() ​

gfAt(depthM, firstStopM, gfLow, gfHigh): number

Defined in: deco/limits.ts:56

Baker GF at a depth: GF-low at the first stop, linear to GF-high at the surface; GF-low before a first stop exists (firstStopM null).

Parameters ​

depthM ​

number

firstStopM ​

number | null

gfLow ​

number

gfHigh ​

number

Returns ​

number

Example ​

ts
gfAt(9, 18, 0.3, 0.8) // 0.55

Reference only — verify every fill and dive plan independently.