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 os | |
import matplotlib.pyplot as plt | |
def f(pressure): | |
return ((1.0 - pow(pressure/101325.0, 0.190284)) * 145366.45) * 0.3048 | |
def finv(alt): | |
return 101325.0*(1-2.25577*10**-5 * alt) ** 5.25588 |
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
#!/bin/bash | |
# `` sudo sh install.sh `` | |
# Developement environnement | |
# | |
# For stable environnement see also : https://gist.github.com/mickaelandrieu/6312724 | |
echo Install Phantomjs | |
cd /usr/local/share | |
sudo wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 | |
sudo tar -xvf phantomjs-2.1.1-linux-x86_64.tar.bz2 |