This file contains 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 | |
""" | |
poor_mans_spc.py | |
================ | |
A quick script that enables people to experiment with the concept | |
of ghost imaging or single pixel camera. | |
Depends | |
======= |
This file contains 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
""" | |
Donload and display | |
================== | |
Downloads IONEX data from IGS and displays a TEC map. | |
Uses the ionex library: https://github.com/gnss-lab/ionex | |
""" | |
import os |
This file contains 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
import numpy as np | |
import matplotlib.pyplot as plt | |
import imageio | |
from maxflow.fastmin import aexpansion_grid | |
# Loading image | |
I = imageio.imread('imageio:astronaut.png') | |
I = I[:,:,1]/I.max() |