Skip to main content

Simple, stand-alone vetting tools for transiting signals in Keper, K2 and TESS data

Project description

vetting

vetting contains simple, stand-alone Python tools for vetting transiting signals in NASA's Kepler, K2 and TESS data. vetting requires an installation of Python 3.8 or higher.

pypi pytest paper

Installation

You can install vetting by executing the following in a terminal

pip install vetting

Centroid testing

An example of a simple test is shown below.

Example of simple centroid test

Here a significant offset is detected in the centroid of false positive KOI-608 during transit. The p-value for the points during transit being drawn from the same distribution as the points out of transit is low, (there is a less than 1% chance these are drawn from the same distribution). To recreate this example you can use the following script:

import lightkurve as lk
from vetting import centroid_test

tpf = lk.search_targetpixelfile('KOI-608', mission='Kepler', quarter=10).download()
period, t0, dur = 25.3368592, 192.91552, 8.85/24
r = centroid_test(tpf, period, t0, dur, aperture_mask='pipeline', plot=False)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vetting-0.3.1.tar.gz (151.1 kB view details)

Uploaded Source

Built Distribution

vetting-0.3.1-py3-none-any.whl (149.8 kB view details)

Uploaded Python 3

File details

Details for the file vetting-0.3.1.tar.gz.

File metadata

  • Download URL: vetting-0.3.1.tar.gz
  • Upload date:
  • Size: 151.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.9.13 Darwin/22.6.0

File hashes

Hashes for vetting-0.3.1.tar.gz
Algorithm Hash digest
SHA256 6bd0341894bb928c3b270dd120d1da6783671adc80997094793629e99977b54a
MD5 84e05ac54560c47e82bae60fb166ad6c
BLAKE2b-256 ced7904296550d9327d1a630018a40cd9a7e6d87225de2d885633422f2b48541

See more details on using hashes here.

File details

Details for the file vetting-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: vetting-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 149.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.9.13 Darwin/22.6.0

File hashes

Hashes for vetting-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2891bc027bea1adb206bf7c7d5ca4c11b2f9d5fcd58fa99edc7f205dc3699148
MD5 c165c78e76559a40de5a002736043629
BLAKE2b-256 33def0de8422a870b648f4aaa8206a1d72877083ec3bc0132c0c939760308f2f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page