In [1]:
from iuvs import io
In [16]:
fnames = io.l1a_filenames("orbit02???")
In [17]:
iuvsfnames = [io.ScienceFilename(i) for i in fnames]
In [18]:
times = [i.time for i in iuvsfnames if i.phase =='periapse']
In [19]:
len(times)
Out[19]:
In [14]:
hk = pd.read_hdf('/home/klay6683/to_keep/HK_DB.h5')
In [11]:
ts = pd.Series(1, times)
In [12]:
ts = ts.sort_index()
In [15]:
muvresampled = hk.MUV_DET_TEMP_C.resample('1s', fill_method='pad')
fuvresampled = hk.FUV_DET_TEMP_C.resample('1s', fill_method='pad')
muv_periapsis_temp = hkresampled.reindex(ts.index).drop_duplicates().dropna()
fuv_periapsis_temp = hkresampled.reindex(ts.index).drop_duplicates().dropna()
In [40]:
%matplotlib nbagg
In [41]:
import seaborn as sns
sns.set_context('talk')
In [52]:
plt.figure()
muv_periapsis_temp.plot(style='*', title='MUV and FUV Periapsis temperatures')
Out[52]:
In [49]:
plt.figure()
fuv_periapsis_temp.plot(style='*', title='FUV Periapsis temperatures')
Out[49]:
In [68]:
jan = hk.FUV_DET_TEMP_C.loc['2015-01']
In [69]:
plt.figure()
jan.plot()
Out[69]:
In [70]:
jan.index
Out[70]:
In [62]:
pd.date_range(start=)
In [ ]: