This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import os | |
import json | |
from spacetrack import SpaceTrackClient | |
from sgp4.earth_gravity import wgs84 | |
from sgp4.io import twoline2rv | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import matplotlib.dates as mdates | |
from astropy.time import Time |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import os | |
import re | |
import glob | |
import tqdm | |
from datetime import datetime | |
import numpy as np | |
import matplotlib.pyplot as plt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from sgp4.api import Satrec | |
from sgp4.earth_gravity import wgs84 | |
if __name__ == "__main__": | |
with open("iss.txt", "r") as fp: | |
lines = fp.readlines() | |
sats = [] | |
for i in range(len(lines) - 1): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
echo $1 $2 $3 $4 $5 $6 | |
# Run strf | |
echo "Killing left over netcat" | |
ps aux | grep -e "nc" | grep -e "45360" | awk '{printf("kill -9 %s\n",$2)}' | sh | |
freq=`echo $3 | awk '{printf("%d\n",$1-100000)}'` | |
fmin=`echo $3 | awk '{printf("%d\n",$1-100000)}'` | |
fmax=`echo $3 | awk '{printf("%d\n",$1+100000)}'` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import matplotlib.gridspec as gridspec | |
from matplotlib.colorbar import Colorbar | |
import sys | |
import warnings | |
with warnings.catch_warnings(): | |
warnings.filterwarnings("ignore",category=FutureWarning) | |
import h5py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import os | |
import glob | |
import requests | |
import shutil | |
import argparse | |
from datetime import datetime | |
if __name__ == "__main__": | |
# Parse input arguments |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import ephem | |
import datetime | |
import math | |
# Compute checksum | |
def set_checksum(line): | |
s = 0 | |
for c in line[:-1]: | |
if c.isdigit(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import numpy as np | |
import matplotlib.pyplot as plt | |
def digitize(x, smin, smax, nbits, signed=False, zeromean=False): | |
# Stats | |
xmean = x.mean() | |
xstd = x.std() | |
if zeromean: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Settings | |
SKY_FREQ=2242.5e6 | |
LO_FREQ=1833e6 | |
RATE=1e6 | |
OUTPUT=${HOME}/satobs | |
FIFO=${HOME}/satobs/fifo | |
GAIN=30 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from __future__ import print_function, division | |
from spacetrack import SpaceTrackClient | |
import os | |
import json | |
import ephem | |
from sgp4.earth_gravity import wgs84 | |
from sgp4.io import twoline2rv | |
import numpy as np | |
import matplotlib.pyplot as plt |