Calculators

Functions to calculate

  • partial pressure

  • equivalent air depth

  • maximum operating depth

  • respiratory minute volume

Summary

kenozooid.calc.ead(depth, ean)

Calculate equivalent air depth for depth and a gas.

kenozooid.calc.mod(ean[, pp])

Calculate maximum operating depth for a gas and partial pressure.

kenozooid.calc.pp_n2(depth, ean, *[, gas])

Calculate partial pressure of nitrogen.

kenozooid.calc.pp_o2(depth, ean, *[, gas])

Calculate partial pressure of oxygen.

kenozooid.calc.rmv(tank, pressure, depth, …)

Calculate respiratory minute volume (RMV).

Functions

kenozooid.calc.ead(depth, ean)[source]

Calculate equivalent air depth for depth and a gas.

Parameters
depth

Depth in meters.

ean

O2 percentage, i.e. 32, 34, 27.5.

kenozooid.calc.mod(ean, pp=1.4)[source]

Calculate maximum operating depth for a gas and partial pressure.

Parameters
ean

O2 percentage, i.e. 32, 34, 27.5.

pp

Partial pressure value.

kenozooid.calc.pp_n2(depth, ean, *, gas='N2')

Calculate partial pressure of nitrogen.

Parameters
depth

Depth in meters.

ean

O2 percentage, i.e. 32, 34, 27.5.

kenozooid.calc.pp_o2(depth, ean, *, gas='O2')

Calculate partial pressure of oxygen.

Parameters
depth

Depth in meters.

ean

O2 percentage, i.e. 32, 34, 27.5.

kenozooid.calc.rmv(tank, pressure, depth, duration)[source]

Calculate respiratory minute volume (RMV).

Parameters
tank

Tank size in liters, i.e. 12l, 15l.

pressure

Difference in pressure of the tank at the end and start of a dive, i.e. 170 (220 at start, 50 at end of a dive).

depth

The average depth of a dive.

duration

Duration of a dive in minutes.