Skip to content

dmrowan/quick_tess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quick_tess

Download and inspect TESS light curves

Set the QUICKTESS_DIR environmental variable to store where LCs are downloaded to.

Example usage:

from quick_tess import mast_download, inspector_plot, data_parser

path = mast_download.download(302105449) #enter TIC
inspector_plot.plot(path, parser=data_parser.tess_qlp,
                    savefig='temp.pdf', samples_per_peak=20)

The default pipeline is the Quick Look Pipeline QLP. You can search for and download SPOC data with the pipeline argument:

from quick_tess import mast_download, inspector_plot, data_parser

path = mast_download.download(302105449, pipeline='TESS-SPOC') #enter TIC
inspector_plot.plot(path, parser=data_parser.tess_spoc, #notice the parser argument changed
                    savefig='temp.pdf', samples_per_peak=20)

Not all TICs have QLP or SPOC light curves, even if they have been observed. We can use the TGLC tool to get LCs from the FFIs. Note that this is fairly slow:

from quick_tess import tglc_download, inspector_plot, data_parser
path = tglc_download.download(302105449)
inspector_plot.plot(path, parser=data_parser.tess_tglc)

You can also pass any of the optional arguments for tglc.quick_lc.tglc_lc directly to tglc_download.download

About

Download and inspect TESS light curves

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages