Created
March 15, 2020 23:32
-
-
Save nunorc/22dd45a2588e00185c6ac2f9f164d419 to your computer and use it in GitHub Desktop.
get the light curve
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import lightkurve as lk | |
# retrieve the light curve file | |
lcf = lk.search_lightcurvefile('kepler-427', quarter=6).download() | |
# retrive the PDFSAP light curve from the file | |
lc = lcf.PDCSAP_FLUX | |
# plot the light curve | |
lc.plot() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment