earfcn
Convert downlink EARFCN to frequency and vice versa. EARFCN -> frequency converts to MHz. frequency -> EARFCN can take Hz or MHz as input.
Multiple EARFCNs map to the same downlink frequency, so freq2earfcn returns a list of possible (band, EARFCN) values.
Examples
from earfcn.convert import earfcn2freq, earfcn2band, freq2earfcn
earfcn2freq(3350) # 2680.0
earfcn2band(3350) # 7
freq2earfcn(2680) # [(7, 3350), (41, 41490)]
Command Line Tools
Installing this package also installs two command line utilities earfcn2freq and freq2earfcn.
Each takes one argument and outputs to stdout.
earfcn2freq 3350
2680.0
freq2earfcn 2680
band=7, earfcn=3350
band=41, earfcn=41490
Release files for earfcn 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| earfcn-0.0.3.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| earfcn-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:7.1 kB
Release files / earfcn-0.0.3.tar.gz
| Download URL | earfcn-0.0.3.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76e52b89266053202a2fc4585fb6e641c37026dfa38ea62ce8d17fc292154bfe
|
|
BLAKE2b-256 checksum How to use checksums |
4e8dfc026fff77fc79c95df3d3e9fafaf26910f127baa170e39e10c208dc337c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / earfcn-0.0.3-py3-none-any.whl
| Download URL | earfcn-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed026218d39c6a5ee648a7ba106404602ec583c6d36827498134ff394026bf81
|
|
BLAKE2b-256 checksum How to use checksums |
4460da998dc18c740dd468c2be5933166731249db1c985ba359466a95f86b569
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|