Skip to content

local TESS lightcurves #1110

Answered by barentsen
barbierimauro asked this question in Q&A
Discussion options

You must be logged in to vote

This is an excellent question @barbierimauro. Thank you for asking! 👍

The only way Lightkurve currently supports loading all the light curves for a single TICID is via the archive search feature. For example, to obtain a LightCurveCollection which contains all the 2-minute light curves for "TIC 261136679" produced by the official SPOC pipeline, you can use:

collection = lightkurve.search_lightcurve("TIC 261136679", author="SPOC", exptime=120).download_all()

This will not use the FITS files you already downloaded. Fortunately, it will cache all files in the cache directory (~/.lightkurve-cache), so at least it won't download the same light curve more than once. It is possible to change the…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@barbierimauro
Comment options

Answer selected by barentsen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants