VBMicrolensing


NameVBMicrolensing JSON
Version 4.1.0 PyPI version JSON
download
home_pagehttp://astropy.org
SummaryVBMicrolensing is a tool for efficient computation in gravitational microlensing events using the advanced contour integration method, supporting single, binary and multiple lenses.
upload_time2024-09-28 13:40:21
maintainerNone
docs_urlNone
authorfran
requires_python<4,>=3.6
licenseGPL-3.0
keywords microlsening magnification and astrometry
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # VBMicrolensing
`VBMicrolensing` is a tool for efficient computation in gravitational 
microlensing events using the advanced contour integration method, supporting single, binary and multiple lenses. 

In particular, VBMicrolensing is designed for the following calculations:
- **Magnification** by single, binary and multiple lenses
- **Centroid** of the images generated by single and binary lenses
- **Critical curves and caustics** of binary and multiple lenses
- Complete **light curves** including several higher order effects: limb darkening of the source, binary source, parallax, xallarap, circular and elliptic orbital motion.

`VBMicrolensing` is written as a C++ library and wrapped as a Python package, the user can call the code from either C++ or Python. This new code encompasses the well-known [VBBinaryLensing](https://github.com/valboz/VBBinaryLensing) code, which is at the basis of several platforms for microlensing modeling. `VBBinaryLensing` will still be available as a legacy software, but will no longer be maintained. 

`VBMicrolensing` has been developed by **Valerio Bozza**, University of Salerno, with a substantial contribution by **Vito Saggese**, University of Naples. We also acknowledge a long list of collaborators who contributed to testing and development of particular aspects over the years: Etienne Bachelet, Fran Bartolic, Sebastiano Calchi Novati, Giovanni Covone, Giuseppe D'Ago, Tyler Heintz, Ava Hoag, Markus Hundertmark, Elahe Khalouei, Radek Poleski, Paolo Rota, Sedighe Sajadian, Rachel Street, Jiyuan Zhang, Keto Zhang, Weicheng Zhang, Wei Zhu.

## Attribution
Any use of this code for scientific publications should be acknowledged by a citation to the works relevant to your study:
- [V. Bozza, MNRAS 408 (2010) 2188](https://ui.adsabs.harvard.edu/abs/2010MNRAS.408.2188B/abstract): general algorithm for binary lensing;
- [V. Bozza et al., MNRAS 479 (2018) 5157](https://ui.adsabs.harvard.edu/abs/2018MNRAS.479.5157B/abstract): BinaryMag2 function, Extended-Source-Point-Lens methods; 
- [V. Bozza, E. Khalouei and E. Bachelet, MNRAS 505 (2021) 126](https://ui.adsabs.harvard.edu/abs/2021MNRAS.505..126B/abstract): astrometry, generalized limb darkening, Keplerian orbital motion; 
- V. Bozza, v. Saggese, G. Covone, P. Rota & J. Zhang (2024), in preparation: multiple lenses.

If specifically relevant to your work, please also cite
[J. Skowron and A. Gould, arXiv:1203.1034](https://arxiv.org/abs/1203.1034).
 
## Installation

### Python

The easiest way to install `VBMicrolensing` is through `pip install VBMicrolensing`

In alternative, in order to use the latest build, clone this GitHub repository on your computer, enter your local copy of the repository and run
```
pip install .
```

Currently, `VBMicrolensing` works on Linux, Windows, MacOS and python >= 2.7. The package requires a C++ compiler supporting C++17.

### C++

If you just want to use the C++ library, clone this repository, all cpp files and the 
`VBMicrolensing.h` are located in in `VBMicrolensing/lib` and should be added to your project. 

The package also contains the following files:
- `VBMicrolensing/data/ESPL.tbl`  - Pre-calculated table for Extended-source-point-lens
- `VBMicrolensing/data/OB151212coords.txt` - Sample file with event coordinates
- `VBMicrolensing/data/satellite1.txt` - Sample table for satellite position (Spitzer)
- `VBMicrolensing/data/satellite2.txt` - Sample table for satellite position (Kepler)
  
## Documentation
Full [documentation for the use of VBmicrolensing in python](/docs/python/readme.md) and [documentation for the use of VBmicrolensing in C++](/docs/C++/readme.md) are available.

Furthermore, the vast majority of functions are documented with Python docstrings which can be accessed as, for example, `?VBBL.BinaryMag2()` in
a Jupyter notebook.

We also provide some [examples](examples) showing the capabilities of the package. In particular, we reproduce some known triple-lense microlensing events.

## License
VBMicrolensing is freely available to the community under the 
GNU Lesser General Public License Version 3 included in this repository.

            

Raw data

            {
    "_id": null,
    "home_page": "http://astropy.org",
    "name": "VBMicrolensing",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4,>=3.6",
    "maintainer_email": null,
    "keywords": "Microlsening magnification and astrometry",
    "author": "fran",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/0c/c5/9a7d9e8f7d1aeb2e8bec27e8cacba7219ee00dc16a08922126dadf4ab802/vbmicrolensing-4.1.0.tar.gz",
    "platform": null,
    "description": "# VBMicrolensing\r\n`VBMicrolensing` is a tool for efficient computation in gravitational \r\nmicrolensing events using the advanced contour integration method, supporting single, binary and multiple lenses. \r\n\r\nIn particular, VBMicrolensing is designed for the following calculations:\r\n- **Magnification** by single, binary and multiple lenses\r\n- **Centroid** of the images generated by single and binary lenses\r\n- **Critical curves and caustics** of binary and multiple lenses\r\n- Complete **light curves** including several higher order effects: limb darkening of the source, binary source, parallax, xallarap, circular and elliptic orbital motion.\r\n\r\n`VBMicrolensing` is written as a C++ library and wrapped as a Python package, the user can call the code from either C++ or Python. This new code encompasses the well-known [VBBinaryLensing](https://github.com/valboz/VBBinaryLensing) code, which is at the basis of several platforms for microlensing modeling. `VBBinaryLensing` will still be available as a legacy software, but will no longer be maintained. \r\n\r\n`VBMicrolensing` has been developed by **Valerio Bozza**, University of Salerno, with a substantial contribution by **Vito Saggese**, University of Naples. We also acknowledge a long list of collaborators who contributed to testing and development of particular aspects over the years: Etienne Bachelet, Fran Bartolic, Sebastiano Calchi Novati, Giovanni Covone, Giuseppe D'Ago, Tyler Heintz, Ava Hoag, Markus Hundertmark, Elahe Khalouei, Radek Poleski, Paolo Rota, Sedighe Sajadian, Rachel Street, Jiyuan Zhang, Keto Zhang, Weicheng Zhang, Wei Zhu.\r\n\r\n## Attribution\r\nAny use of this code for scientific publications should be acknowledged by a citation to the works relevant to your study:\r\n- [V. Bozza, MNRAS 408 (2010) 2188](https://ui.adsabs.harvard.edu/abs/2010MNRAS.408.2188B/abstract): general algorithm for binary lensing;\r\n- [V. Bozza et al., MNRAS 479 (2018) 5157](https://ui.adsabs.harvard.edu/abs/2018MNRAS.479.5157B/abstract): BinaryMag2 function, Extended-Source-Point-Lens methods; \r\n- [V. Bozza, E. Khalouei and E. Bachelet, MNRAS 505 (2021) 126](https://ui.adsabs.harvard.edu/abs/2021MNRAS.505..126B/abstract): astrometry, generalized limb darkening, Keplerian orbital motion; \r\n- V. Bozza, v. Saggese, G. Covone, P. Rota & J. Zhang (2024), in preparation: multiple lenses.\r\n\r\nIf specifically relevant to your work, please also cite\r\n[J. Skowron and A. Gould, arXiv:1203.1034](https://arxiv.org/abs/1203.1034).\r\n \r\n## Installation\r\n\r\n### Python\r\n\r\nThe easiest way to install `VBMicrolensing` is through `pip install VBMicrolensing`\r\n\r\nIn alternative, in order to use the latest build, clone this GitHub repository on your computer, enter your local copy of the repository and run\r\n```\r\npip install .\r\n```\r\n\r\nCurrently, `VBMicrolensing` works on Linux, Windows, MacOS and python >= 2.7. The package requires a C++ compiler supporting C++17.\r\n\r\n### C++\r\n\r\nIf you just want to use the C++ library, clone this repository, all cpp files and the \r\n`VBMicrolensing.h` are located in in `VBMicrolensing/lib` and should be added to your project. \r\n\r\nThe package also contains the following files:\r\n- `VBMicrolensing/data/ESPL.tbl`  - Pre-calculated table for Extended-source-point-lens\r\n- `VBMicrolensing/data/OB151212coords.txt` - Sample file with event coordinates\r\n- `VBMicrolensing/data/satellite1.txt` - Sample table for satellite position (Spitzer)\r\n- `VBMicrolensing/data/satellite2.txt` - Sample table for satellite position (Kepler)\r\n  \r\n## Documentation\r\nFull [documentation for the use of VBmicrolensing in python](/docs/python/readme.md) and [documentation for the use of VBmicrolensing in C++](/docs/C++/readme.md) are available.\r\n\r\nFurthermore, the vast majority of functions are documented with Python docstrings which can be accessed as, for example, `?VBBL.BinaryMag2()` in\r\na Jupyter notebook.\r\n\r\nWe also provide some [examples](examples) showing the capabilities of the package. In particular, we reproduce some known triple-lense microlensing events.\r\n\r\n## License\r\nVBMicrolensing is freely available to the community under the \r\nGNU Lesser General Public License Version 3 included in this repository.\r\n",
    "bugtrack_url": null,
    "license": "GPL-3.0",
    "summary": "VBMicrolensing is a tool for efficient computation in gravitational microlensing events using the advanced contour integration method, supporting single, binary and multiple lenses.",
    "version": "4.1.0",
    "project_urls": {
        "Homepage": "http://astropy.org"
    },
    "split_keywords": [
        "microlsening",
        "magnification",
        "and",
        "astrometry"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fa021d88fb59a97b67c913d41510b3f99e819777254ef41788c76baf16fac1db",
                "md5": "769c061c31712948f16854c8785a44a8",
                "sha256": "3a3ab2224df636fcc79c0233ca1abb978f853f4f69b49b66bd7abdb10e7e6b1c"
            },
            "downloads": -1,
            "filename": "VBMicrolensing-4.1.0-cp311-cp311-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "769c061c31712948f16854c8785a44a8",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": "<4,>=3.6",
            "size": 719365,
            "upload_time": "2024-09-28T13:40:19",
            "upload_time_iso_8601": "2024-09-28T13:40:19.618441Z",
            "url": "https://files.pythonhosted.org/packages/fa/02/1d88fb59a97b67c913d41510b3f99e819777254ef41788c76baf16fac1db/VBMicrolensing-4.1.0-cp311-cp311-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0cc59a7d9e8f7d1aeb2e8bec27e8cacba7219ee00dc16a08922126dadf4ab802",
                "md5": "4861ef030c74b50420a6244bbaee592b",
                "sha256": "be654b8980ab3f135ea297beb6e3aebe3dc48a787fb26e3724c7ebc450f82dff"
            },
            "downloads": -1,
            "filename": "vbmicrolensing-4.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "4861ef030c74b50420a6244bbaee592b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.6",
            "size": 520423,
            "upload_time": "2024-09-28T13:40:21",
            "upload_time_iso_8601": "2024-09-28T13:40:21.453148Z",
            "url": "https://files.pythonhosted.org/packages/0c/c5/9a7d9e8f7d1aeb2e8bec27e8cacba7219ee00dc16a08922126dadf4ab802/vbmicrolensing-4.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-28 13:40:21",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "vbmicrolensing"
}
        
Elapsed time: 0.35739s