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

Uploaded Source

Built Distribution

nuance-0.5.2-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nuance-0.5.2.tar.gz
  • Upload date:
  • Size: 13.9 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.5.2.tar.gz
Algorithm Hash digest
SHA256 3cabb784f0462fe2daf9737fac292227dd93382090f707e375d21b9df4f6689d
MD5 5f379c0c1ad068b1c9caf4b0221da0e6
BLAKE2b-256 599852f52f92d3fa442852744ecac5c43c12080427a0dad52c5b65259f149eed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nuance-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 16.5 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.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c5db75f503ca7bd7830a8e9317ea4f98cef2e182c02995f4f9476b8721303e37
MD5 fe86181e6e02f001c9e6af983fccc8b7
BLAKE2b-256 b3b8f806f1acc9045d15d36b37efe54ac6293d7d3d8df65bdd2eaea576a46222

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