File size: 1,429 Bytes
4d0d437
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import streamlit as st

st.markdown(
    """
# dBm Watt Calculator Documentation

## 1. Objective
Convert power values between dBm, Watt (W), and milliwatt (mW).

## 2. When to use this tool
Use this page for quick RF power conversions during planning, checks, and reporting.

## 3. Input files and accepted formats
No file upload is required.
Manual numeric input only.

## 4. Required fields
Three conversion modes are available:
- `dBm -> W + mW`
- `W -> dBm + mW`
- `mW -> dBm + W`

## 5. Step-by-step usage
1. Open `Apps > dBm <> Watt Calculator`.
2. Select conversion mode.
3. Enter input value.
4. Click `Convert`.
5. Read decimal and scientific notation outputs.

## 6. Outputs generated
- converted values in two units
- decimal and scientific formatting

## 7. Frequent errors and fixes
- Error for non-positive W input.
  - Fix: use value strictly greater than 0.
- Error for non-positive mW input.
  - Fix: use value strictly greater than 0.
- Unexpected value.
  - Fix: verify unit and conversion mode selection.

## 8. Minimal reproducible example
- Input: mode `dBm -> W + mW`, value `30`.
- Action: click `Convert`.
- Expected result: approximately `1 W` and `1000 mW`.

## 9. Known limitations
- Manual one-value conversion only.
- No batch file conversion in current version.
- No history of previous calculations.

## 10. Version and update date
- Documentation version: 1.0
- Last update: 2026-02-23
"""
)