Skip to main content

Visual Vetting and Analysis of Transits from Space ObservatioNs

Project description

WATSON (Visual Vetting and Analysis of Transits from Space ObservatioNs) is a lightweight software package that enables a comfortable visual vetting of a transiting signal candidate from Kepler, K2 and TESS missions.

Any transiting candidate signal found in a space-based mission could have been potentially generated by different astrophysical sources or even by instrumental artifacts induced into a target's light curve. To rule-out these scenarios, the Science Processing Operation Center (SPOC) of the NASA implemented the Data Validation (DV) Reports, which are showing different metrics to qualify or discard an analyzed candidate. These scenarios are mainly

  • Transit shape model fit
  • Odd-even transits checks,
  • Weak secondary events
  • Centroids shifts
  • Optical ghost effects
  • Transit source offsets
  • Rolling band contamination histograms

WATSON is also implementing similar but more simplified checks for all of those scenarios (SPOC fits transits models and we just compute the SNR of the possible candidate signal) except the rolling band contamination. In addition, we included a new check comparing the transit SNRs in the different available cadences and also all the single-transit plots computed with the official pipeline aperture and a smaller one. With all of these data, we compute metrics that might alert the scientist about problematic signals not complying with any of the thresholds.

For more information check the docs: https://dearwatson.readthedocs.io

Code example

Let's say that you found a new candidate in the TOI-175 with a period of 1.04 days (this is a known false positive from the TESS mission). You could run WATSON easily with the next code chunk:

period = 1.0491800670761966
epoch = 1354.7155898963902
duration_mins = 54
depth_ppts = 0.158
sectors = 'all'
rp_rstar = 0.01205
a_rstar = 9 
ra = 124.531756290083
dec = -68.3129998725044
# We need to mask the previous candidates to ensure they don't add noise to the analysis
known_transits_mask = [{'P': 3.6906682312153136, 'T0': 1356.20298505518, 'D': 56}, 
                 {'P': 2.2531273092040185, 'T0': 1354.9020729263193, 'D': 45}, 
                 {'P': 7.450690528437917, 'T0': 1355.2917484673462, 'D': 69}]
your_execution_dir = os.getcwd() 
object_dir = your_execution_dir + '/results'
if not os.path.exists(object_dir):
    os.mkdir(object_dir)
Watson(object_dir).vetting("TIC 307210830", period, epoch, duration_mins, depth_ppts, sectors, rp_rstar,
                                       a_rstar=a_rstar, cadence=120,
                                       cpus=os.cpu_count() // 2,
                                       transits_list=None, ra=ra,
                                       dec=dec, clean=True, transits_mask=known_transits_mask)

This same example is done in one of our tutorials. Go and check it out!: TOI-175 tutorial

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

dearwatson-1.1.0.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dearwatson-1.1.0-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file dearwatson-1.1.0.tar.gz.

File metadata

  • Download URL: dearwatson-1.1.0.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for dearwatson-1.1.0.tar.gz
Algorithm Hash digest
SHA256 f123a3f6a5167d81ad4fc9d3e9048f7e1aa1119603bbddbaa2430bd5fd05efe4
MD5 6783e20ac160f99f26916bb37f53a591
BLAKE2b-256 2e5829d8076a42e9bf7dc7bd6314118f338a76f4249fcbb765c76a1396df1c10

See more details on using hashes here.

File details

Details for the file dearwatson-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: dearwatson-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for dearwatson-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 81c9becd996bf8348a6231333ee7db73f84f0aa492d6ef79e7f9f1b6449505c2
MD5 e60275a10bd5765f6b3ec227de472ec1
BLAKE2b-256 72692f65f2841e07afa9d764fe9b4b217b33568f1b601b91a7710cc853777f84

See more details on using hashes here.

Supported by

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