Skip to main content

Find the contaminant transiting source in Kepler, K2 or TESS data.

Project description

<p align=”center”><img width = “400” src=”https://github.com/christinahedges/contaminante/blob/master/docs/figures/logo.png?raw=true”/></p>

# contaminante kohn - tah - mee - nahn - teh

[Read the docs here!](http://christinahedges.github.io/contaminante)

A package to help find the contaminant transiting source in NASA’s Kepler, K2 or TESS data. When hunting for transiting planets, sometimes signals come from neighboring contaminants. This package helps users identify where the transiting signal comes from in their data.

## What does contaminante do?

contaminante uses pixel level modeling of the TargetPixelFile data from NASA’s astrophysics missions that are processed with the Kepler pipeline. The output of contaminante is a Python dictionary containing the source location and transit depth, and a contaminant location and depth. Optionally you can output a figure showing

  1. Where the main target is centered in all available TPFs.

  2. What the phase curve looks like for the main target

  3. Where the transiting source is centered in all available TPFs, if a transiting source is located outside the main target

  4. The transiting source phase curve, if a transiting source is located outside the main target

An example output is shown below for a target with a transiting contaminant.

<center><img width = “900” src=”https://github.com/christinahedges/contaminante/blob/master/docs/figures/FP.png?raw=true”/></center>

Where as a transit that is centered on the target gives the following output:

<center><img width = “900” src=”https://github.com/christinahedges/contaminante/blob/master/docs/figures/real.png?raw=true”/></center>

## How do I use contaminante?

You can check out our [tutorial](https://christinahedges.github.io/contaminante/_build/html/tutorial.html) for how to run contaminante. To run contaminante you will need a target name, a transit period, a transit center and a transit duration.

## How do I install contaminante?

You can install contaminante using pip:

` pip install contaminante --upgrade `

You can also install contaminante by cloning this repo:

` git clone https://github.com/christinahedges/contaminante cd contaminante python setup.py install `

### Help, I can’t install contaminante!

You might not be able to install contaminante because your computer doesn’t support some of the features, or perhaps you’re new to Python. Don’t worry, you can still use contaminante! If you’re struggling to install, try running contaminante online using Google’s Colaboratory. You can click [here](https://colab.research.google.com/github/christinahedges/contaminante/blob/master/tutorials/Colaboratory-Notebook.ipynb) to open a new Colaboratory notebook and run contaminante in the cloud!

## Dependencies

contaminante uses the most up to date version of [lightkurve](https://github.com/keplerGO/lightkurve), and uses some of the features available in v2.0. Make sure your lightkurve installation is up to date before using contaminante.

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

contaminante-0.3.tar.gz (6.3 MB view details)

Uploaded Source

Built Distribution

contaminante-0.3-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file contaminante-0.3.tar.gz.

File metadata

  • Download URL: contaminante-0.3.tar.gz
  • Upload date:
  • Size: 6.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.41.1 CPython/3.6.7

File hashes

Hashes for contaminante-0.3.tar.gz
Algorithm Hash digest
SHA256 9ad05f05e11300e196982317748a5a0a2551562102af83f80e9860ed0798dbf0
MD5 4dd41e78ea72ef743ec6055452ebb414
BLAKE2b-256 d10ff95616610cbc71924370288b90a712e0b637ae5e851ca5ab627c92a17b7e

See more details on using hashes here.

Provenance

File details

Details for the file contaminante-0.3-py3-none-any.whl.

File metadata

  • Download URL: contaminante-0.3-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.41.1 CPython/3.6.7

File hashes

Hashes for contaminante-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a86200778bc1544db0a0d27f26a124189556dae6b45df0610206b478f139c0e5
MD5 8c219a44d73d4d96c78841113ca28b97
BLAKE2b-256 2eec2d7f671affd1f49e436b1b67ae27d629ab1ae716f1728680aa4574ac020f

See more details on using hashes here.

Provenance

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