nuance


Namenuance JSON
Version 0.7.1 PyPI version JSON
download
home_pageNone
SummaryTransit signals detection among correlated noises
upload_time2024-05-28 10:55:30
maintainerNone
docs_urlNone
authorLionel Garcia
requires_python>=3.9
licenseNone
keywords astronomy exoplanets jax transit
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # nuance
Efficient detection of planets transiting quiet or active stars

<p align="center">
    <img src="docs/_static/illu_readme.png" height="350" style="margin:50px">
</p>

*nuance* uses linear models and Gaussian processes (using the [JAX](https://github.com/google/jax)-based [tinygp](https://github.com/dfm/tinygp)) to simultaneously **search for planetary transits while modeling correlated noises** (e.g. stellar variability) in a tractable way. See [the paper](https://arxiv.org/abs/2402.06835) for more details.

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
- To use GPUs for fast transit searches

Documentation at [nuance.readthedocs.io](https://nuance.readthedocs.io)

## Example

```python
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

```shell
pip install nuance
```

or from sources
  
```shell
git clone https://github.com/lgrcia/nuance
cd nuance
pip install -e .
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "nuance",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "astronomy, exoplanets, jax, transit",
    "author": "Lionel Garcia",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/7c/0a/f3566efe52770664c68a03d181815aeee4dda81668835e84ac2fc68a4457/nuance-0.7.1.tar.gz",
    "platform": null,
    "description": "# nuance\nEfficient detection of planets transiting quiet or active stars\n\n<p align=\"center\">\n    <img src=\"docs/_static/illu_readme.png\" height=\"350\" style=\"margin:50px\">\n</p>\n\n*nuance* uses linear models and Gaussian processes (using the [JAX](https://github.com/google/jax)-based [tinygp](https://github.com/dfm/tinygp)) to simultaneously **search for planetary transits while modeling correlated noises** (e.g. stellar variability) in a tractable way. See [the paper](https://arxiv.org/abs/2402.06835) for more details.\n\nWhen to use *nuance*?\n- To detect single or periodic transits\n- When correlated noises are present in the data (e.g. stellar variability or instrumental systematics)\n- For space-based or sparse ground-based observations\n- To effectively find transits in light curves from multiple instruments\n- To use GPUs for fast transit searches\n\nDocumentation at [nuance.readthedocs.io](https://nuance.readthedocs.io)\n\n## Example\n\n```python\nfrom nuance import Nuance, utils\nimport numpy as np\n\n(time, flux, error), X, gp = utils.simulated()\n\nnu = Nuance(time, flux, gp=gp, X=X)\n\n# linear search\nepochs = time.copy()\ndurations = np.linspace(0.01, 0.2, 15)\nnu.linear_search(epochs, durations)\n\n# periodic search\nperiods = np.linspace(0.3, 5, 2000)\nsearch = nu.periodic_search(periods)\n\nt0, D, P = search.best\n```\n\n## Installation\n\n`nuance` is written for python 3 and can be installed using pip\n\n```shell\npip install nuance\n```\n\nor from sources\n  \n```shell\ngit clone https://github.com/lgrcia/nuance\ncd nuance\npip install -e .\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Transit signals detection among correlated noises",
    "version": "0.7.1",
    "project_urls": null,
    "split_keywords": [
        "astronomy",
        " exoplanets",
        " jax",
        " transit"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1cd47eba86fb4457f6aed8dbaba0d77166351a91af165d914dc611db83a19940",
                "md5": "0a1db4ebd91199b9e883276e293284a2",
                "sha256": "c32520ddc03ba7a0bb043525ab916950bbf81729057bd76608a50e4b14b4b452"
            },
            "downloads": -1,
            "filename": "nuance-0.7.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0a1db4ebd91199b9e883276e293284a2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 18865,
            "upload_time": "2024-05-28T10:55:28",
            "upload_time_iso_8601": "2024-05-28T10:55:28.346037Z",
            "url": "https://files.pythonhosted.org/packages/1c/d4/7eba86fb4457f6aed8dbaba0d77166351a91af165d914dc611db83a19940/nuance-0.7.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7c0af3566efe52770664c68a03d181815aeee4dda81668835e84ac2fc68a4457",
                "md5": "99673a38de6b54547e34f22edd985d94",
                "sha256": "42f4797af073dd45825b4879deb696fe74aa4622c8f385b8d0209f270633e444"
            },
            "downloads": -1,
            "filename": "nuance-0.7.1.tar.gz",
            "has_sig": false,
            "md5_digest": "99673a38de6b54547e34f22edd985d94",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 2339150,
            "upload_time": "2024-05-28T10:55:30",
            "upload_time_iso_8601": "2024-05-28T10:55:30.008940Z",
            "url": "https://files.pythonhosted.org/packages/7c/0a/f3566efe52770664c68a03d181815aeee4dda81668835e84ac2fc68a4457/nuance-0.7.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-28 10:55:30",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "nuance"
}
        
Elapsed time: 0.28297s