Skip to main content

Transit signals detection among 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.

When to use nuance?

  • To detect single or periodic transits
  • When correlated noises are present in the data (e.g. stellar variability or instrumental systematics)
  • For space-based or sparse ground-based observations
  • To effectively find transits in light curves from multiple instruments

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
epochs = time.copy()
durations = np.linspace(0.01, 0.2, 15)
nu.linear_search(epochs, durations)

# 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 using pip

pip install nuance

or from sources

git clone https://github.com/lgrcia/nuance
cd nuance
pip install -e .

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.3.1.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

nuance-0.3.1-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nuance-0.3.1.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-1019-azure

File hashes

Hashes for nuance-0.3.1.tar.gz
Algorithm Hash digest
SHA256 04af0a509ed44bdc702801b133e010ff6f3d178736ee9f9edb5abd8c0f3d9677
MD5 8acbb1012caa59cbf5274e022a388f05
BLAKE2b-256 cf85495bebdb4f625db7f06706fab8aea5752351bf9cac73321f34e0e85804a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nuance-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-1019-azure

File hashes

Hashes for nuance-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 465d9055dfd6f6d76ae1a87029ef2a0a1d33e168560fd243b9727a06558ce049
MD5 71ef6d2a8f87fab7c3feb75b934f9c8e
BLAKE2b-256 315af190f8dc99f61df4a107b134a9a70d9309bdd2e4c1c407a4edfd0b56d1e9

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