Skip to main content

A package for detecting fire

Project description

virtialsmoke

We used empirical data to build a virtual smoke detector or a model to predict fire alarm from environmental variables

Installation

Install the package as follows:

python3 -m pip install virtualsmoke

Usage

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

virtualsmoke-0.0.3.tar.gz (53.1 kB view hashes)

Uploaded Source

Built Distribution

virtualsmoke-0.0.3-py3-none-any.whl (2.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page