Deco::Dive::Table - Generate a list of no stop limits for your model
use Deco::Dive; use Deco::Dive::Table; my $dive = new Deco::Dive( ); $dive->model( config => './conf/haldane.cnf'); my $divetable = new Deco::Dive::Table( dive => $dive ); $divetable->calculate(); my $table = $divetable->output();
This package will plot the profile of the dive and internal pressures of the tissues of the model.
The constructor of the class. There is only one parameter: a Deco::Dive object.
Set the list of depths you want the table to be for manually. There is a default list provided, but with this method you can overrule it. Depths should be entered in meters
Set the tissue by its number that will control the table. Usually this is the tissue with the longest halftime
Set the step size in bar for which we want to calculate the table. The table will start with 1.0 bar and run up using this step size to the maximum allowed pressure at the surface (M0)
Performs the calculation of the table. You will need to call this function before retrieving output.
Retrieve the no stop times table as a string. Optionally you can supply your own template for each line of output. The placeholders #DEPTH# and #TIME# will be replaced by the actual values for the depth (in meters) and time (in minutes) that you can stay at that depth without required decompression stops.
Retrieve the output of the table calculation.
None by default.
In the docs directory you will find an extensive treatment of decompression theory in the file Deco.pdf. A lot of it has been copied from the www.deepocean.net website.
Jaap Voets, <narked@xperience-automatisering.nl>
Copyright (C) 2006 by Jaap Voets
To install Deco, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Deco
CPAN shell
perl -MCPAN -e shell install Deco
For more information on module installation, please visit the detailed CPAN module installation guide.