Skip to content

Instantly share code, notes, and snippets.

View 0x9900's full-sized avatar
📻
Coding

Fred Cirera 0x9900

📻
Coding
View GitHub Profile
@0x9900
0x9900 / leaf.py
Last active August 15, 2018 22:43
Stem and Leaf
#!/usr/bin/env python
"""
Stem and leaf plotting.
http://en.wikipedia.org/wiki/Stem-and-leaf_display
$ leaf.py --help
usage: leaf.py [-h] [-s STEM_SIZE] filename
Stem-and-leaf display.
@0x9900
0x9900 / gw_connect.py
Created November 15, 2018 06:16
YSF2DMR Gateway management
#!/usr/bin/env python
import argparse
import logging
import sys
import os
import subprocess
from ConfigParser import SafeConfigParser
@0x9900
0x9900 / make_dmrid.py
Last active July 8, 2022 01:26
DMR id generation for YSF2DMR gateway.
#!/usr/bin/env python
#
# (c) W6BSD Fred Cirera
# https://github.com/0x9900/
#
# I use this program to generte the DMRId file for the YSF2DMR
# gateway.
#
import csv
@0x9900
0x9900 / cssmini.py
Created August 23, 2019 20:03
Compress CSS files
#!/usr/bin/env python
#
# (c) W6BSD Fred Cirera
# https://github.com/0x9900/
#
import argparse
import logging
import os.path
import sys
@0x9900
0x9900 / gist:b3b9f0445a4d2e8c95509e4fdb9fdfb4
Created November 14, 2022 16:12
Back an SQLITE3 database
#!/usr/bin/env python3
#
"""Backup a sqlite3 database into a zstandard compressed file"""
import logging
import os
import sqlite3
import sys
@0x9900
0x9900 / css7id.py
Last active November 23, 2022 02:20
CSS7ID command line search tool
#!/usr/bin/env python3
#
# BSD 3-Clause License
#
# Copyright (c) 2022 Fred W6BSD
# All rights reserved.
#
#
import argparse
@0x9900
0x9900 / smith_vswr.py
Last active July 17, 2024 15:26
Generate Smith chart and VSWR charts from .s1p files
#!/usr/bin/env python3
#
# BSD 3-Clause License
# Copyright (c) 2022 Fred W6BSD All rights reserved.
#
# This program reads Touchstone files (.s1p) coming from any good
# antenna analyzer or VNA. The the type of the data is limited to the
# format S,RI.
#
# You can go to https://0x9900.com/hustler-4btv-cleanup-tuning/ to see
@0x9900
0x9900 / recover.py
Created June 18, 2023 22:28
Recover call from WSJT-X
#!/usr/bin/env python
import os
import sys
from collections import namedtuple
from datetime import datetime
from tqdm import tqdm
start_date = datetime(2023, 6, 15, 20, 55, 0)
@0x9900
0x9900 / README.md
Last active August 30, 2024 15:33
Graph SWR smith chart and return loss

This tool has been moved to its own python package. to get the latest version please go to https://github.com/0x9900/RigExpert

RigExpert

RigExpert is a tool designed to analyze and visualize antenna performance. It takes measurement data from devices like the RigExpert antenna analyzer or NanoVNA and generates detailed charts that help users understand their antenna's behavior. These charts include impedance plots, VSWR (Voltage Standing Wave Ratio) graphs, and Smith charts, which are essential for fine-tuning and optimizing antenna systems.

@0x9900
0x9900 / README.md
Last active February 27, 2025 01:14
Command line program to upload or update github gists.