Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring the code and add first new feature ( load parameters from JSON file) #2

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open
Binary file added heatmap/0-100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions heatmap/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
rtl-sdr-misc
============

A SDR heatmap generator.

Heatmap.py can generate a heatmap from a CSV file generated by rtl_power command.

The script can use the parameter JSON file for customise the generating heatmap.

You can see the sample result

First sample
![0Mhz - 100 Mhz band](https://raw.githubusercontent.com/badele/rtl-sdr-misc/newfeature/heatmap/0-100.png)

Second sample
![FM 1](https://raw.githubusercontent.com/badele/rtl-sdr-misc/newfeature/heatmap/fm1.png)


Contributors
------------
keenerd
skgsergio
badele
Binary file added heatmap/fm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added heatmap/fm1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
366 changes: 366 additions & 0 deletions heatmap/frequencies.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,366 @@
{
"legends": [
{
"text": "TLF",
"freq_left": 0,
"freq_right": 3
},
{
"text": "ELF",
"freq_left": 3,
"freq_right": 30
},
{
"text": "SLF",
"freq_left": 30,
"freq_right": 300
},
{
"text": "ULF",
"freq_left": 300,
"freq_right": 3e3
},
{
"text": "VLF",
"freq_left": 3e3,
"freq_right": 30e3
},
{
"text": "LF",
"freq_left": 30e3,
"freq_right": 300e3
},
{
"text": "MF",
"freq_left": 300e3,
"freq_right": 3e6
},
{
"text": "HF",
"freq_left": 3e6,
"freq_right": 30e6
},
{
"text": "VHF",
"freq_left": 30e6,
"freq_right": 300e6
},
{
"text": "UHF",
"freq_left": 300e6,
"freq_right": 3e9
},
{
"text": "SHF",
"freq_left": 3e9,
"freq_right": 30e9
},
{
"text": "EHF",
"freq_left": 30e9,
"freq_right": 300e9
},
{
"text": "THF",
"freq_left": 300e9,
"freq_right": 3e12
},
{
"text": "12 Meters",
"freq_left": 24.89e6,
"freq_right": 24.99e6
},
{
"text": "Time",
"freq_center": 25e6,
"bw": 10e3
},
{
"text": "Fixe-mobile phone",
"freq_left": 25.01e6,
"freq_right": 25.07e6
},
{
"text": "Marine",
"freq_left": 25.07e6,
"freq_right": 25.21e6
},
{
"text": "Fixe-mobile phone",
"freq_left": 25.21e6,
"freq_right": 25.55e6
},
{
"text": "Radioastronomy & Jupiter noise",
"freq_left": 25.55e6,
"freq_right": 25.67e6
},
{
"text": "11 meters",
"freq_left": 25.67e6,
"freq_right": 26.1e6
},
{
"text": "Marine",
"freq_left": 26.1e6,
"freq_right": 26.31e6
},
{
"text": "Mobile phone",
"freq_left": 26.3e6,
"freq_right": 26.5e6,
"comment": "15 Channels 12.5KHz"
},
{
"text": "Remote command",
"freq_left": 26.810e6,
"freq_right": 26.92e6,
"comment": "Remote commande for modelism"
},
{
"text": "CB Band",
"freq_left": 26.960e6,
"freq_right": 27.410e6,
"comment": "40 Channels 10KHz"
},
{
"text": "Eurobalise",
"freq_center": 27.095e6,
"bw": 10e3
},
{
"text": "meteorical tools",
"freq_left": 27.5e6,
"freq_right": 28e6
},
{
"text": "10 Meters",
"freq_left": 28e6,
"freq_right": 29.7e6
},
{
"text": "Military",
"freq_left": 29.7e6,
"freq_right": 32.5e6
},
{
"text": "Research, satelite ident",
"freq_left": 30.005e6,
"freq_right": 30.01e6
},
{
"text": "remote command",
"freq_left": 34.995e6,
"freq_right": 35.055e6
},
{
"text": "Radio Astronomy",
"freq_left": 37.5e6,
"freq_right": 38.250e6
},
{
"text": "Spatial research",
"freq_left": 39.986e6,
"freq_right": 40.020e6
},
{
"text": "remote command",
"freq_left": 40.995e6,
"freq_right": 40.205e6
},
{
"text": "Mobile phone",
"freq_left": 41.3e6,
"freq_right": 41.5e6,
"comment": "15 Channels 12.5KHz"
},
{
"text": "TV",
"freq_left": 44.5e6,
"freq_right": 68.5e6
},
{
"text": "6 Meters",
"freq_left": 50e6,
"freq_right": 54e6
},
{
"text": "4 Meters",
"freq_left": 70e6,
"freq_right": 70.5e6
},
{
"text": "Remote command",
"freq_left": 72.2e6,
"freq_right": 72.5e6
},
{
"text": "Radioborne",
"freq_center": 75e6,
"bw": 10e3
},
{
"text": "Radiomessagerie",
"freq_center": 87.39e6,
"bw": 10e3
},
{
"text": "French public state",
"freq_left": 68e6,
"freq_right": 87.5e6
},

{
"text": "FM band",
"freq_left": 87.5e6,
"freq_right": 108e6
},
{
"text": "Aeronautic ground",
"freq_left": 108e6,
"freq_right": 112e6
},
{
"text": "Aeronautic",
"freq_left": 108e6,
"freq_right": 136.975e6,
"comment": "Aeronautic control VOR + ILS"
},
{
"text": "International SOS",
"freq_center": 121.5e6,
"bw": 10e3
},
{
"text": "Aux International SOS",
"freq_center": 123.1e6,
"bw": 10e3
},
{
"text": "Weathermap Satelite Down",
"freq_left": 137e6,
"freq_right": 138e6
},
{
"text": "ULM",
"freq_left": 138e6,
"freq_right": 144e6
},
{
"text": "2 meters",
"freq_left": 144e6,
"freq_right": 148e6
},
{
"text": "Satelite Up",
"freq_left": 148e6,
"freq_right": 150.5e6
},

{
"text": "Radio AVIVA",
"freq_center": 88e6,
"bw": 160e3
},
{
"text": "EKO",
"freq_center": 88.5e6,
"bw": 160e3
},
{
"text": "France Inter",
"freq_center": 89.1e6,
"bw": 160e3
},
{
"text": "FM Plus",
"freq_center": 91e6,
"bw": 160e3
},
{
"text": "Fun Radio",
"freq_center": 91.8e6,
"bw": 160e3
},
{
"text": "Radio Clapas",
"freq_center": 93.5e6,
"bw": 160e3
},
{
"text": "Divergence FM",
"freq_center": 93.9e6,
"bw": 160e3
},
{
"text": "MFM Radio",
"freq_center": 94.5e6,
"bw": 160e3
},
{
"text": "RADIO LENGA D'OC",
"freq_center": 95.4e6,
"bw": 160e3
},
{
"text": "France Musique",
"freq_center": 96.4e6,
"bw": 160e3
},
{
"text": "Fip",
"freq_center": 99.7e6,
"bw": 160e3
},
{
"text": "France Bleu",
"freq_center": 100.6e6,
"bw": 160e3
},
{
"text": "RTL 2",
"freq_center": 101.7e6,
"bw": 160e3
},
{
"text": "Le Mouv'",
"freq_center": 102.7e6,
"bw": 160e3
},
{
"text": "RMC",
"freq_center": 104.3e6,
"bw": 160e3
},
{
"text": "Sud Radio",
"freq_center": 104.7e6,
"bw": 160e3
},
{
"text": "NRJ",
"freq_center": 105.1e6,
"bw": 160e3
},
{
"text": "Radio Flash",
"freq_center": 105.6e6,
"bw": 160e3
},
{
"text": "RTS",
"freq_center": 106.5e6,
"bw": 160e3
},
{
"text": "RTL",
"freq_center": 106.9e6,
"bw": 160e3
},
{
"text": "Radio Classique",
"freq_center": 107.3e6,
"bw": 160e3
}
]
}
Loading