Home | Trees | Indices | Help |
|
---|
|
Classes | |
DivePlanError Dive planner exception. |
|
GasList List of gas mixes. |
|
DivePlan Dive plan information. |
|
DiveProfile Dive profile information. |
|
ProfileType Dive profile type. |
Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Variables | |
logger = logging.getLogger(__name__)
|
|
RE_GAS = re.compile(
|
Function Details |
Plan decompression dive. The dive plan information is calculated and stored in the dive plan object. Any dive plan configuration should be set in the dive plan object before calling this function.
|
Calculate decompression stops for a dive profile. The dive plan information is used to configure decompression engine.
|
Calculate dive legs information. The dive legs information is used for other calculations, i.e. dive gas consumption, dive slate. Dive profile is split into legs using
The ascent rate is assumed to be 10m/min. Each dive leg consists of the following information
|
Determine the overhead part of a decompression dive. The overhead part of a dive is the descent, bottom and ascent parts of a dive up to first decompression stop or first decompression gas mix switch. The overhead part of a dive is used to calculate gas mix consumption using rule of thirds. :param gas_list: Gas list information. :param legs: List of dive legs. ..seealso:: :py:func:`dive_legs` |
Calculate dive slate for a dive profile. The dive decompression stops is a collection of items implementing the following interface
Dive slate is list of items consisting of
|
|
Calculate total decompression time using dive legs. :param legs: List of dive legs. ..seealso:: :py:func:`dive_legs` |
Calculate total dive time using dive legs. :param legs: List of dive legs. ..seealso:: :py:func:`dive_legs` |
Analyze gas volume requirements using gas mix volume calculations. The list of messages is returned, which confirm required gas mix volume or warn about gas logistics problems. :param gas_vol: Gas volume requirements per gas mix. :param min_gas_vol: Minimal gas mixes volume for the plan. .. seealso:: :py:func:`min_gas_volume` :py:func:`gas_volume` |
Calculate dive gas mix volume information. Gas mix volume is calculated for each gas mix on the gas list. The volume information is returned as dictionary `gas mix name -> usage`, where gas usage is volume of gas in liters. The key of the gas mix volume dictionary is gas mix name to merge all travel and decompression gas mixes information regardless their depth switch. FIXME: apply separate RMV for decompression gas :param gas_list: Gas list information. :param legs: List of dive legs. :param rmv: Respiratory minute volume (RMV) [min/l]. ..seealso:: :py:func:`dive_legs` |
Calculate minimal volume of gas mixes required for a dive using rule of thirds. The volume information is returned as dictionary
|
Update gas mix list, so every gas mix has depth specified. The following rules are used
|
|
|
Variables Details |
RE_GAS
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Aug 16 20:40:50 2019 | http://epydoc.sourceforge.net |