Project Information¶
Features¶
Diving features
Buhlmann diving decompression model with gradient factors by Erik Baker - ZH-L16B-GF and ZH-L16C-GF.
Nitrox and trimix gas mixes.
Unlimited amount of travel and decompression gas mixes.
Altitude diving.
Algorithm validation (i.e. check if first decompression stop is at ascent ceiling).
Library features
Classes and function extensible via Object Oriented Programming and generators.
Calculated data is returned as iterator allowing interaction with the DecoTengu library at any stage of calculation.
Supported command line utilities for decompression stops calculation, dive data saving in a CSV file and plotting of the data.
Highly configurable (surface pressure, ascent rate, descent rate, meter to bar conversion constants, etc.).
Supported various alternative implementations for performance and accuracy comparison purposes
For decompression calculations without exponential function.
For decompression calculations using fixed point arithmetic.
Naive algorithms implemented by some dive computers and diving software.
Installation¶
DecoTengu depends on Python 3.3 or later.
To install DecoTengu from PyPi
$ pip install --user decotengu
To use latest version of DecoTengu from source code repository
$ git clone http://git.savannah.gnu.org/cgit/decotengu.git
$ cd decotengu
$ export PYTHONPATH=$(pwd)
$ export PATH=$(pwd)/bin
or
$ git clone http://git.savannah.gnu.org/cgit/decotengu.git
$ cd decotengu
$ python3 setup.py build
$ python3 setup.py install --user
DecoTengu provides dt-plot script, which requires R. This is optional.