Skip to main content

Transit detection in correlated noises

Project description

Work in progress ...

nuance

A Python package to detect exoplanetary transits
in the presence of stellar variability and correlated noises

license license

nuance uses linear models and gaussian processes (using the JAX-based tinygp) to simultaneously search for planetary transits while modeling correlated noises (e.g. stellar variability) in a tractable way.

Documentation at nuance.readthedocs.io

Example

from nuance import Nuance, utils
import numpy as np

(time, flux, error), X, gp = utils.simulated()

nu = Nuance(time, flux, gp=gp, X=X)

# linear search
t0s = time.copy()
Ds = np.linspace(0.01, 0.2, 15)
nu.linear_search(t0s, Ds)

# periodic search
periods = np.linspace(0.3, 5, 2000)
search = nu.periodic_search(periods)

t0, D, P = search.best

Installation

nuance is written for python 3 and can be installed (for now) through

pip install git+https://github.com/lgrcia/nuance.git

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

nuance-0.1.0.tar.gz (11.2 kB view hashes)

Uploaded Source

Built Distribution

nuance-0.1.0-py3-none-any.whl (12.7 kB view hashes)

Uploaded Python 3

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