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

Uploaded Source

Built Distribution

nuance-0.4.0-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nuance-0.4.0.tar.gz
  • Upload date:
  • Size: 12.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.4.0.tar.gz
Algorithm Hash digest
SHA256 5bea97eaba425216e77ab8d617711d148e052b0cb005947aa5882d5fe4db8a96
MD5 e8ae7dbdd0acab9ee59d4948821c5494
BLAKE2b-256 40af9a25ec710ce7b7f6abd4029ba58dbad64a48e86d0d4bd44e8973781fe4df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nuance-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 15.4 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 177c8203bbf65c932fef23e3de4323681db9306aa35296520da69f6c5d0f070d
MD5 c4efe8c2902045b9bb36f43114b7d0e5
BLAKE2b-256 b37af111dd7cfef43283fa6dd754bb44919d4252a1f075c9628410b24edf47c8

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