Skip to content

Instantly share code, notes, and snippets.

View kerel-fs's full-sized avatar

Fabian P. Schmidt kerel-fs

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/env python3
# usage: show_kiss_timestamp.py [-h] KISS_IN
#
# Read "gr_satellites-formatted" KISS frames and output the timestamp.
#
# positional arguments:
# KISS_IN Input KISS File.
#
# optional arguments:
@kerel-fs
kerel-fs / 01-atomus_riser_pipe_color.py
Created April 4, 2020 21:47
Calculate the color temperature CCT from web color hex triplets (Python)
#!/usr/bin/env python3
import struct
import warnings
import colour
import numpy as np
measured_colours = ["#E42024",
We couldn’t find that file to show.
@kerel-fs
kerel-fs / README.md
Created March 2, 2020 13:16
Python script for listing all Hamlib Rotator Models (using markdown-syntax tables)

Hamlib release 3.3

Rot # Manufacturer Model Version Status Macro Name
0 ROT_MODEL_NONE
1 Hamlib Dummy 0.2 Beta ROT_MODEL_DUMMY
2 Hamlib NET rotctl 0.3 Beta ROT_MODEL_NETROTCTL
201 Hamlib EasycommI 0.4 Beta ROT_MODEL_EASYCOMM1
202 Hamlib EasycommII 0.4 Beta ROT_MODEL_EASYCOMM2
203 ROT_MODEL_TRAKBOX
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kerel-fs
kerel-fs / iss_transit_astropy.py
Last active November 26, 2019 03:05 — forked from cbassa/iss_transit_astropy.py
Reproducing the ISS->Venus->Solar transit of June 8, 2004 (Astropy & skyfueld & Astropy+Skyfield Frame Trafos)
#!/usr/bin/env python3
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.patches import Circle
import astropy.units as u
from astropy.time import Time
from astropy.coordinates import get_body, solar_system_ephemeris
from astropy.coordinates import EarthLocation, GCRS, FK5
from astropy.coordinates import SkyCoord, PrecessedGeocentric, CartesianRepresentation
from astropy.wcs import wcs
@kerel-fs
kerel-fs / competitors_club-webviewer.csv
Last active June 6, 2019 13:46
Dannstadter Vergleichsfliegen 2019
ID CALL CN TYPE HANDICAP NAME
FLRDF0E4E D-0553 2A Std. Libelle 98 Felix Maier
FLRDD93E8 D-7826 4P LS 4 104 M.Laubender & M.Engisch
FLRDDB0CD D-0894 4R LS 4 104 R.Fürderer & J.Medic
FLRDD9641 D-0266 66 ASK 13 79 K.H.Müller & K.Müller
FLR3F0487 D-9200 7J LS 7 WL 107 Ch.Müller & J.Kiefer
FLRDDC010 D-1372 7S DG 300 105 Juli Goll
FLRDD92E3 D-0002 CH LS 7 WL 107 R.Hähndel & G.Sturm
FLRDD8443 D-8568 CL ASK 21 92 Team K.Leitner/S.Lorenz/LSeitz/Y.Strickler
FLRDDA8A8 D-3693 I ASW-15 97 Mika Zeyen
matplotlib==3.0.2
skyfield==1.10
numpy==1.15.4
ipython==7.1.1
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.