Skip to main content

A dB <-> power calculator for the command line

Project description

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

$ dbcalc o 1 -3
0.5011872336272722

Notice that the result has a newline character appended.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

dbcalc-0.1.4-py3-none-any.whl (3.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