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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dbcalc-0.1.4-py3-none-any.whl.
File metadata
- Download URL: dbcalc-0.1.4-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
033f5f1095a7a677add40c69d97dcc39c4cbb694b25bb681e2742b5a12a0b521
|
|
| MD5 |
1685947c670d42a63152e7bd42eaa410
|
|
| BLAKE2b-256 |
0290b3ec57ce24b9cfd1b9470d601c80f9677f840085dd44ff3937f44ff4c7a7
|