Last active
March 12, 2019 15:47
-
-
Save jenncross/aa7e33c1dc9743047b944bdbabe1e6e3 to your computer and use it in GitHub Desktop.
Balloon Data Parsing Code
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 pandas as pd | |
fin = open("balloon.csv") | |
data = [] | |
for line in fin: | |
data.append(float(line[1:6])) | |
data = np.array(data) | |
plt.figure() | |
plt.plot(data, 'kx') | |
plt.xlabel("Sample") | |
plt.ylabel("Radiation Level") | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment