Skip to main content

TESS centroid_vetting

PyPI Badge

Overview

TESS-Centroid_vetting provides photometric centroid offset analysis for vetting exoplanet candidates identified in TESS (Transiting Exoplanet Survey Satellite) data.
It was inspired by the graphical representation of the centroid in the Data Validation (DV) reports of Threshold Crossing Events (TCEs) produced by the TESS Science Processing Operations Center (SPOC) pipeline
The centroid representation allows identifying the source of the dips in a light curve, discarding potential false positives and identifying possible sources of contamination.
It is an open-source Python package that can analyze any TESS Target Pixel File.

Img

Method

The method is similar to the centroid offset analysis in TESS SPOC TCE DV reports, which measures centroids using difference imaging with PRF-based (pixel response function) centroid fitting.

TESS-Centroid_vetting lets users customize some parameters to handle edge cases, including:

  • Pixel masking: ignores selected pixels during calculation, which helps avoid pixels that could skew the results (e.g., a nearby variable star).
  • In-transit / out-of-transit duration: can be customized to avoid problematic cadences.

Current limitations (v1.4.0):

  • The centroid uncertainties are not available.
  • Multi-sector centroid fitting is not available.

Comparability with TESS TCE DVs: it has been evaluated in an ad-hoc basis that the result from TESS-Centroid_vetting is comparable to TESS TCE DVs. However, it has not been systematically evaluated yet.

Documentation

Read the docs generated by DeepWiki: Ask DeepWiki

Installation

Since version 1.2.0, a package is available at PyPi: PyPI Badge So, the simplest way of installing TESS-Centroid_Vetting is using pip:

pip install tesscentroidvetting

Dependencies:

  • numpy
  • matplotlib
  • astropy
  • astroquery
  • scipy
  • lightkurve
  • ipywidgets - only needed if interact=True in show_transit_margins()

Usage

See the notebooks in Examples directory for usage.

Acknowledgments

Sam Lee (https://github.com/orionlee) for implementing star's proper motion correction and transit margins display function, advising and testing.

Michelle Kunimoto (https://github.com/mkunimoto) for writing TESS-Plots, whose code was used for the PRF centroid calculation.

Last but not least, Nora Eisner for Planet Hunters Coffee Chat series, introducing python for exoplanet detection (the difference image calculation was first borrowed from there), and for Planet Hunters TESS citizen project, whose community forum is an invaluable source of knowledge and place to exchange views between amateurs and experts.

Contributors

Rafael Rodrigues, Sam Lee

References

TESS TCE DVs are described in:

Their centroid offset analysis, based on the one developed for the Kepler mission, is described in:

Metadata

Release files for tesscentroidvetting 1.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tesscentroidvetting 1.4.1
File Size Uploaded
tesscentroidvetting-1.4.1.tar.gz 20.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tesscentroidvetting 1.4.1
File Interpreter ABI Platform
tesscentroidvetting-1.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 38.7 kB

Release files / tesscentroidvetting-1.4.1.tar.gz

Download URL tesscentroidvetting-1.4.1.tar.gz
Size 20.0 kB
Tags Source
SHA-256 checksum
How to use checksums
39e60f5f1131eb8266796ba9b1fcc3a3c063db07cb28460c4c4b4040350a2560
BLAKE2b-256 checksum
How to use checksums
c25c523f7f5c8abdc5321a2787a406f4c4c2a1fb8c0ba5013a796986f609b693
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.5

Release files / tesscentroidvetting-1.4.1-py3-none-any.whl

Download URL tesscentroidvetting-1.4.1-py3-none-any.whl
Size 18.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
629f0c1fd5e41e5543325aa146c35d2360a29b0ad1cf4246b9786e67a059ada5
BLAKE2b-256 checksum
How to use checksums
9ac2b528a96a2c0e14712df9eda1b2edf46f559c39d89f02786fec78fee73a93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.5

Release history Release notifications | RSS feed

This release

1.4.1 This release

2 release files

1.4.0

2 release files

1.3.6

2 release files

1.3.5

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.0

2 release files

1.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page