In [1]:
import astropy
print astropy.__version__
%matplotlib inline
import matplotlib.pyplot as plt
In [2]:
from JLA import PhotometryData
In [3]:
fname = '/Users/rbiswas/Downloads/jla_light_curves/lc-03D1au.list'
In [4]:
s = PhotometryData(fname)
In [5]:
s.photometryTable.dtype
Out[5]:
In [6]:
import sncosmo
In [ ]:
# Don't do the following, use the megacam bands and set prefix to something like SNLS
In [7]:
s.band_prefix = 'des'
In [8]:
s.photometryTable
Out[8]:
In [9]:
sncosmo.plot_lc(s.photometryTable)
Out[9]: