Project Information

Goals

The goal of the libdeco-ostc project is to provide dive decompression library reusing and integrating existing solutions if possible.

Implementation of dive planning library is _not_ one of the goals of this project.

Features

The libdeco-ostc project features are as follows

  • Buhlmann ZH-L16C with Gradient Factors algorithm used by OSTC dive computer (max. depth 130m)
  • OC and CCR modes
  • Nitrox and Trimix supported (up to 5 gases)
  • configurable dive altitude and surface pressure
  • configurable depth of last decompression stop
  • NDL calculation for non-decompression dives
  • C API
  • Python API
  • supported x86, x86-64, PowerPC and ARM platforms

Measure Units

The libdeco-ostc uses the following measure units

  • depth in meters, i.e. 30 meters
  • altitude in meters, i.e. 700 meters
  • deco stops or NDL times in minutes, i.e. 5 minutes
  • ppO2 in bars, i.e. 1.4 bar
  • surface pressure in millibars, i.e. 1013 millibar