Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

short exposure changed to <200s due to new TESS FFI time #1410

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- Various improvements to the online documentation. [#1400]
- Fixed a bug in ``tpf.interact()`` so that proper y label is displayed when
lightcurve is normalized with ``transform_func``. [#1387]
- Changed 'short' cadence in search.py to be <200s so the new TESS FFI cadence is excluded [#1394]


2.4.2 (2023-11-03)
Expand Down
4 changes: 2 additions & 2 deletions src/lightkurve/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -1375,9 +1375,9 @@ def _mask_by_exptime(products, exptime):
if exptime in ["fast"]:
mask &= products["exptime"] < 60
elif exptime in ["short"]:
mask &= (products["exptime"] >= 60) & (products["exptime"] < 300)
mask &= (products["exptime"] >= 60) & (products["exptime"] < 200)
elif exptime in ["long", "ffi"]:
mask &= products["exptime"] >= 300
mask &= products["exptime"] >= 200
return mask


Expand Down