ekaterinailin / AltaiPony

Find flares in Kepler and TESS light curves. Notebooks for quickstart inside.
https://altaipony.readthedocs.io
MIT License
26 stars 10 forks source link

TESS notebook "TESS_Light_Curves_With_Flares.ipynb" #54

Closed aaronmaas closed 4 years ago

aaronmaas commented 4 years ago

While trying the provided notebooks in AltaiPony/notebooks I report an issue with the TESS notebook "TESS_Light_Curves_With_Flares.ipynb". Calling the function _frommast() with the provided TIC example does not work, because the function does not recognize the given ID "29780677". Instead the input has to be "TIC 29780677" and then it will work.

In code:

flc = from_mast('TIC 29780677', mode="LC", c=2, mission="TESS") instead of flc = from_mast("29780677", mode="LC", c=2, mission="TESS")

Cheers

ekaterinailin commented 4 years ago

Thanks for pointing it out!

Apparently, lightkurve needs the TIC, EPIC, and KIC identifiers to disambiguate the targets.

I fixed it in the docs and in the notebook. See this commit.