add full-time lightcurve extraction
small alterations,functions are camera-independent