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
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
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
nuance-0.1.0.tar.gz
(11.2 kB
view hashes)
Built Distribution
nuance-0.1.0-py3-none-any.whl
(12.7 kB
view hashes)