In [1]:
from sunpy.lightcurve import GOESLightCurve


/Users/schriste/anaconda/lib/python2.7/site-packages/pytz/__init__.py:29: UserWarning: Module _imaging was already imported from /Users/schriste/anaconda/lib/python2.7/site-packages/PIL/_imaging.so, but /Users/schriste/.local/lib/python2.7/site-packages is being added to sys.path
  from pkg_resources import resource_stream

In [2]:
%pylab inline


Populating the interactive namespace from numpy and matplotlib

In [3]:
goes = GOESLightCurve.create('1998/05/04 01:10','1998/05/04 02:10')

In [4]:
goes.data


Out[4]:
xrsa xrsb
1998-05-04 01:10:00 2.311928e-08 0.000001
1998-05-04 01:10:03 2.634626e-08 0.000001
1998-05-04 01:10:06 2.449312e-08 0.000001
1998-05-04 01:10:09 2.598447e-08 0.000001
1998-05-04 01:10:12 2.392785e-08 0.000001
1998-05-04 01:10:15 2.492694e-08 0.000001
1998-05-04 01:10:18 2.601691e-08 0.000001
1998-05-04 01:10:21 2.473037e-08 0.000001
1998-05-04 01:10:24 2.480766e-08 0.000001
1998-05-04 01:10:27 2.402776e-08 0.000001
1998-05-04 01:10:30 2.680654e-08 0.000001
1998-05-04 01:10:33 2.418558e-08 0.000001
1998-05-04 01:10:36 2.626350e-08 0.000001
1998-05-04 01:10:39 2.564834e-08 0.000001
1998-05-04 01:10:42 2.473765e-08 0.000001
1998-05-04 01:10:45 2.513241e-08 0.000001
1998-05-04 01:10:48 2.480109e-08 0.000001
1998-05-04 01:10:51 2.415566e-08 0.000001
1998-05-04 01:10:54 2.425400e-08 0.000001
1998-05-04 01:10:57 2.626179e-08 0.000001
1998-05-04 01:11:00 2.443910e-08 0.000001
1998-05-04 01:11:03 2.537776e-08 0.000001
1998-05-04 01:11:06 2.564336e-08 0.000001
1998-05-04 01:11:09 2.507321e-08 0.000001
1998-05-04 01:11:12 2.533101e-08 0.000001
1998-05-04 01:11:15 2.527536e-08 0.000001
1998-05-04 01:11:18 2.574546e-08 0.000001
1998-05-04 01:11:21 2.531174e-08 0.000001
1998-05-04 01:11:24 2.634037e-08 0.000001
1998-05-04 01:11:27 2.628708e-08 0.000001
1998-05-04 01:11:30 2.632338e-08 0.000001
1998-05-04 01:11:33 2.711702e-08 0.000001
1998-05-04 01:11:36 2.524933e-08 0.000001
1998-05-04 01:11:39 2.628952e-08 0.000001
1998-05-04 01:11:42 2.563706e-08 0.000001
1998-05-04 01:11:45 2.762823e-08 0.000001
1998-05-04 01:11:48 2.605912e-08 0.000001
1998-05-04 01:11:51 2.565459e-08 0.000001
1998-05-04 01:11:54 2.601884e-08 0.000001
1998-05-04 01:11:57 2.602790e-08 0.000001
1998-05-04 01:12:00 2.703152e-08 0.000001
1998-05-04 01:12:03 2.601906e-08 0.000001
1998-05-04 01:12:06 2.698847e-08 0.000001
1998-05-04 01:12:09 2.699956e-08 0.000001
1998-05-04 01:12:12 2.688249e-08 0.000001
1998-05-04 01:12:15 2.648650e-08 0.000001
1998-05-04 01:12:18 2.683266e-08 0.000001
1998-05-04 01:12:21 2.635751e-08 0.000001
1998-05-04 01:12:24 2.800147e-08 0.000001
1998-05-04 01:12:27 2.601968e-08 0.000001
1998-05-04 01:12:30 2.600834e-08 0.000001
1998-05-04 01:12:33 2.545945e-08 0.000001
1998-05-04 01:12:36 2.593527e-08 0.000001
1998-05-04 01:12:39 2.679460e-08 0.000001
1998-05-04 01:12:42 2.522263e-08 0.000001
1998-05-04 01:12:45 2.666091e-08 0.000001
1998-05-04 01:12:48 2.698938e-08 0.000001
1998-05-04 01:12:51 2.732256e-08 0.000001
1998-05-04 01:12:54 2.625085e-08 0.000001
1998-05-04 01:12:57 2.730204e-08 0.000001
... ...

1201 rows × 2 columns


In [5]:
goes.data['xrsa'].max()


Out[5]:
2.8001475e-08

In [6]:
import matplotlib.pyplot as plt

In [7]:
plt.figure()


Out[7]:
<matplotlib.figure.Figure at 0x1079a7d50>
<matplotlib.figure.Figure at 0x1079a7d50>

In [8]:
goes.data.plot()


Out[8]:
<matplotlib.axes.AxesSubplot at 0x107df5390>

In [8]: