Skip to main content

A package for predicting fires given environmental variables

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.7.tar.gz (54.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

virtualsmoke-0.0.7-py3-none-any.whl (54.9 kB view details)

Uploaded Python 3

File details

Details for the file virtualsmoke-0.0.7.tar.gz.

File metadata

  • Download URL: virtualsmoke-0.0.7.tar.gz
  • Upload date:
  • Size: 54.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for virtualsmoke-0.0.7.tar.gz
Algorithm Hash digest
SHA256 ac608ca6fc973a37e674df85d7d4c751f011d9447566edc3a91b3c2b8de4da78
MD5 9c373b40b0be248d7f63abaaa91284f0
BLAKE2b-256 ca79bac548fe4d16f3bb37a07ebcf574cf9a72f967b556689d236ddbdfa6b907

See more details on using hashes here.

File details

Details for the file virtualsmoke-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: virtualsmoke-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 54.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for virtualsmoke-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6fd50ba830f5090a59011d33b262300660960774779ec93edc9e4a5a0e0c731d
MD5 5f611de2bb544699842c78b6777883ee
BLAKE2b-256 ab21669e0bb291b03fd26cc0a26e4447b9b881cc8192cbe587b88e4e8f5b58ad

See more details on using hashes here.

Supported by

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