A package for predicting fires given environmental variables
We used empirical data to build a virtual smoke detector or a model to predict fire alarm from environmental variables
Install the package as follows:
python3 -m pip install virtualsmoke
As a CLI
The package can be used as a commandline interface or in a script. For CLI the following options must be provided:
NAME smoke.py SYNOPSIS smoke.py T H P POSITIONAL ARGUMENTS T H P NOTES You can also use flags syntax for POSITIONAL ARGUMENTS
In the script
from virtualsmoke.smoke import signal print(signal(T,H,P))
Where T is the surrounding or surface temperature in Kelvin, H is the relative humidity (%), and P is the barometric pressure in hectopascal (hPa).
The model will calculate the mean free path of air, which is the main indicator for sensing fires.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
virtualsmoke-0.0.7.tar.gz (54.0 kB view hashes)
Hashes for virtualsmoke-0.0.7-py3-none-any.whl