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 | |
| from skyfield.api import Topos, load | |
| from skyfield.api import EarthSatellite | |
| import matplotlib.pyplot as plt | |
| from matplotlib.patches import Circle | |
| import astropy.units as u | |
| from astropy.wcs import wcs | |
| if __name__ == "__main__": |
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 | |
| 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 |
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 python | |
| from __future__ import print_function | |
| import numpy as np | |
| import matplotlib | |
| #matplotlib.use("Agg") | |
| import matplotlib.pyplot as plt | |
| import sys | |
| # Get filename | |
| fname=sys.argv[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
| # Valid for Turin (45.0792 deg, 7.6760 deg, 239 m) | |
| # Valid for 2020-03-20T19:00:00.000 for 1800 seconds | |
| Object 80003 | |
| 1 80003U 20001A 20180.00000000 .00000000 00000-0 50000-4 0 07 | |
| 2 80003 53.0000 0.0000 0001000 0.0000 49.0909 15.05490756 05 | |
| Object 80004 | |
| 1 80004U 20001A 20180.00000000 .00000000 00000-0 50000-4 0 08 | |
| 2 80004 53.0000 0.0000 0001000 0.0000 65.4545 15.05490756 04 | |
| Object 80005 | |
| 1 80005U 20001A 20180.00000000 .00000000 00000-0 50000-4 0 09 |
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 | |
| from sgp4.earth_gravity import wgs84 | |
| from sgp4.io import twoline2rv | |
| from astropy.time import Time | |
| import astropy.units as u | |
| from cysgp4 import PyTle, PyObserver, propagate_many, Satellite, PyDateTime | |
| if __name__ == "__main__": | |
| # TLE |
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 |
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 | |
| 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
| #!/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 os | |
| import glob | |
| import requests | |
| import shutil | |
| import argparse | |
| from datetime import datetime | |
| if __name__ == "__main__": | |
| # Parse input arguments |