still on the way to implementing for lsst.  change from function to
class to describe the light curve