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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nuance-0.1.0.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.10.11 Linux/5.15.0-1037-azure

File hashes

Hashes for nuance-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0589c2ff8d8a4e0c7fd5d86a743355a0e3b960e9324419e2508ee9f0f83fcf14
MD5 dde3ddfeedc2933f1226b623a0768394
BLAKE2b-256 81c0ac54e3d9fe64da84b21eee5efc403e64e9f950984b9eb37c405f5d42b0c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nuance-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.10.11 Linux/5.15.0-1037-azure

File hashes

Hashes for nuance-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 891eaa203fb50de1fcdd86b686b385f705345bf96117aa79f75cd8b398495377
MD5 31187bae361f4ade44b16a858847f9c7
BLAKE2b-256 6e75c9f523697e919c33e8adb5e8cd2ba2f85a3d5ad5f141a05c4493ff9046e7

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