Time series photometry using astropy.