{"id":49453846,"url":"https://github.com/CoastEgo/microlux","last_synced_at":"2026-05-16T16:01:25.723Z","repository":{"id":178232166,"uuid":"599904472","full_name":"CoastEgo/microlux","owner":"CoastEgo","description":"Implementation of automatic differentiation in VBozza's BinaryLensing","archived":false,"fork":false,"pushed_at":"2026-03-09T07:27:05.000Z","size":4990,"stargazers_count":13,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-02T15:41:43.839Z","etag":null,"topics":["astronomy","gravitational-lensing","jax","microlensing"],"latest_commit_sha":null,"homepage":"https://coastego.github.io/microlux/","language":"Jupyter Notebook","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/CoastEgo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-02-10T06:10:04.000Z","updated_at":"2026-03-09T07:26:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"58a42ac5-1cf9-48b5-8527-fa8c9a7fd7b7","html_url":"https://github.com/CoastEgo/microlux","commit_stats":null,"previous_names":["coastego/microlensing","coastego/binaryjax","coastego/microlux"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/CoastEgo/microlux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoastEgo%2Fmicrolux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoastEgo%2Fmicrolux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoastEgo%2Fmicrolux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoastEgo%2Fmicrolux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CoastEgo","download_url":"https://codeload.github.com/CoastEgo/microlux/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoastEgo%2Fmicrolux/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33109461,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["astronomy","gravitational-lensing","jax","microlensing"],"created_at":"2026-04-30T04:01:06.159Z","updated_at":"2026-05-16T16:01:25.718Z","avatar_url":"https://github.com/CoastEgo.png","language":"Jupyter Notebook","funding_links":[],"categories":["Exoplanets"],"sub_categories":[],"readme":"## microlux: Microlensing using Jax\n\n[![Test Status](https://github.com/coastego/microlux/actions/workflows/run_test.yml/badge.svg)](https://github.com/CoastEgo/microlux/actions/workflows/run_test.yml)\n[![Documentation Status](https://github.com/coastego/microlux/actions/workflows/build_docs.yml/badge.svg)](https://coastego.github.io/microlux/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/CoastEgo/microlux)\n---\n\n`microlux` is a \u003ca href='https://github.com/jax-ml/jax'\u003eJax\u003c/a\u003e-based package that can calculate the binary lensing light curve and its derivatives both efficiently and accurately.  We use the modified adaptive contour integratoin in \u003ca href='https://github.com/valboz/VBBinaryLensing'\u003e`VBBinaryLensing`\u003c/a\u003e to maximize the performance. \nWith the access to the gradient, we can use more advanced algorithms for microlensing modeling, such as Hamiltonian Monte Carlo (HMC) in \u003ca href='https://num.pyro.ai/en/latest/mcmc.html#numpyro.infer.hmc.NUTS'\u003e`numpyro`\u003c/a\u003e.\n\n\n## Installation\n\n``` bash\npip install microlux\n```\nor you can install this package from source for development. \n``` bash \ngit clone https://github.com/CoastEgo/microlux.git\ncd microlux\npip install -e .\n```\n## Documentation\nThe documentation is available at \u003ca href='https://coastego.github.io/microlux/'\u003ehere\u003c/a\u003e. See this for more details.\n\n\n  \n## Citation\n\n`microlux` is open-source software licensed under the MIT license. If you use this package for your research, please cite our paper:\n\n- A differentiable binary microlensing model using adaptive contour integration method: \u003ca href='https://arxiv.org/abs/2501.07268'\u003ein arXiv\u003c/a\u003e and \u003ca href= 'https://iopscience.iop.org/article/10.3847/1538-3881/adb1b2'\u003ein AJ \u003c/a\u003e.\n\n``` bibtex\n@article{ren2025microlux,\n       author = {{Ren}, Haibin and {Zhu}, Wei},\n        title = \"{A Differentiable Binary Microlensing Model Using Adaptive Contour Integration Method}\",\n      journal = {The Astronomical Journal},\n         year = 2025,\n       volume = {169},\n       number = {3},\n          eid = {170},\n        pages = {170},\n          doi = {10.3847/1538-3881/adb1b2},\n       adsurl = {https://ui.adsabs.harvard.edu/abs/2025AJ....169..170R},\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCoastEgo%2Fmicrolux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCoastEgo%2Fmicrolux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCoastEgo%2Fmicrolux/lists"}