Metadata-Version: 2.0
Name: dbcalc
Version: 0.1.3
Summary: A dB <-> power calculator for the command line
Home-page: https://bitbucket.org/Vieler/dbcalc/
Author: Vieler Hyloks
Author-email: vielerhyloks@gmail.com
License: UNKNOWN
Description-Content-Type: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Scientific/Engineering :: Physics

dbcalc
======

Conversion tool to do power <-> dB calculations. PARAMS is a list of space-separated values depending
on the mode (``i``, ``o`` or ``d``) selected.

* ``i`` — calculate input power from the PARAMS output power and dB
* ``o`` — calculate output power from the PARAMS input power and dB
* ``d`` — calculate dB from the PARAMS output power and input power

E.g.: to calculate the output power, given 1W of input power and 3dB loss

.. code:: sh

    $ dbcalc o 1 -3
    0.5011872336272722

Notice that the result has a newline character appended.

