{"id":35209022,"url":"https://github.com/lgrcia/nuance","last_synced_at":"2025-12-29T16:35:02.721Z","repository":{"id":65442998,"uuid":"560026611","full_name":"lgrcia/nuance","owner":"lgrcia","description":"Efficient detection of planets transiting quiet or active stars","archived":false,"fork":false,"pushed_at":"2025-08-05T10:00:45.000Z","size":10920,"stargazers_count":19,"open_issues_count":8,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-05T12:37:17.708Z","etag":null,"topics":["correlated-noise","data-analysis","exoplanets","search","systematics","transits","variability"],"latest_commit_sha":null,"homepage":"https://nuance.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lgrcia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":".zenodo.json","notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-10-31T15:32:59.000Z","updated_at":"2025-08-05T10:00:49.000Z","dependencies_parsed_at":"2023-02-13T02:46:00.725Z","dependency_job_id":"b9842be6-7dd6-49f6-bfcc-7b92cb0050ea","html_url":"https://github.com/lgrcia/nuance","commit_stats":{"total_commits":90,"total_committers":1,"mean_commits":90.0,"dds":0.0,"last_synced_commit":"495e19db59e56d3b6d09f19543c7af56c53b42e7"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/lgrcia/nuance","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgrcia%2Fnuance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgrcia%2Fnuance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgrcia%2Fnuance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgrcia%2Fnuance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lgrcia","download_url":"https://codeload.github.com/lgrcia/nuance/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgrcia%2Fnuance/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28117532,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-29T02:00:07.021Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["correlated-noise","data-analysis","exoplanets","search","systematics","transits","variability"],"created_at":"2025-12-29T16:35:02.056Z","updated_at":"2025-12-29T16:35:02.715Z","avatar_url":"https://github.com/lgrcia.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nuance\nEfficient detection of planets transiting quiet or active stars\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"docs/_static/illu_readme.png\" height=\"350\" style=\"margin:50px\"\u003e\n\u003c/p\u003e\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\nimport numpy as np\nfrom nuance import linear_search, periodic_search, core\n\n# linear search\nepochs = time.copy()\ndurations = np.linspace(0.01, 0.2, 15)\nls = linear_search(time, flux, gp=gp)(epochs, durations)\n\n# periodic search\nperiods = np.linspace(0.3, 5, 2000)\nsnr_function = jax.jit(core.snr(time, flux, gp=gp))\nps_function = periodic_search(epochs, durations, ls, snr_function)\nsnr, params = ps_function(periods)\n\nt0, D, P = params[np.argmax(snr)]\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\n## Citation\n\nIf you find *nuance* useful for your research, cite [Garcia et. al 2024](https://ui.adsabs.harvard.edu/abs/2024AJ....167..284G). The BibTeX entry for the paper is:\n\n```\n@ARTICLE{2024AJ....167..284G,\n       author = {{Garcia}, Lionel J. and {Foreman-Mackey}, Daniel and {Murray}, Catriona A. and {Aigrain}, Suzanne and {Feliz}, Dax L. and {Pozuelos}, Francisco J.},\n        title = \"{nuance: Efficient Detection of Planets Transiting Active Stars}\",\n      journal = {\\aj},\n     keywords = {Exoplanet detection methods, Stellar activity, Time series analysis, Gaussian Processes regression, Computational methods, GPU computing, 489, 1580, 1916, 1930, 1965, 1969, Astrophysics - Earth and Planetary Astrophysics, Astrophysics - Instrumentation and Methods for Astrophysics},\n         year = 2024,\n        month = jun,\n       volume = {167},\n       number = {6},\n          eid = {284},\n        pages = {284},\n          doi = {10.3847/1538-3881/ad3cd6},\narchivePrefix = {arXiv},\n       eprint = {2402.06835},\n primaryClass = {astro-ph.EP},\n       adsurl = {https://ui.adsabs.harvard.edu/abs/2024AJ....167..284G},\n      adsnote = {Provided by the SAO/NASA Astrophysics Data System}\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flgrcia%2Fnuance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flgrcia%2Fnuance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flgrcia%2Fnuance/lists"}