Skip to main content

PyPI - Version DOI Build Status

pyLIMA

Authors : Etienne Bachelet (etibachelet@gmail.com), Rachel Street (rstreet@lcogt.net), Valerio Bozza (valboz@sa.infn.it), Yiannis Tsapras (ytsapras@ari.uni-heidelberg.de) and friends!

pyLIMA is the first open source software for modeling microlensing events. It should be flexible enough to handle your data and fit it. You can also practice by simulating events.

Documentation and Installation

Documentation

Required materials

You need pip and python, that's it!

Installation and use

>>> pip install pyLIMA

You should be able to load pyLIMA as general module :

import pyLIMA
print(pyLIMA.__version__)

Examples

Examples can be found in the pyLIMA directory after cloning this repository. More details can be found in the Documentation There is two version for each examples, one using Jupyter notebook or classic Python file.

Example_1 : HOW TO FIT MY DATA?

Example_2 : HOW TO USE YOUR PREFERED PARAMETERS?

Example_3 : HOW TO SIMULATE EVENST?

Example_4 : HOW TO USE YOUR OWN FITTING ROUTINES?

Example_5 : HOW TO FIT PARALLAX?

How to contribute?

Want to contribute? Bug detections? Comments? Please email us (etibachelet@gmail.com) or raise an issue (recommended).

Citations

Please cite Bachelet et al. 2017 (and soon pyLIMA-II Bachelet et al.2025). The BibTeX entry for the paper is::

@ARTICLE{2017AJ....154..203B, author = {{Bachelet}, E. and {Norbury}, M. and {Bozza}, V. and {Street}, R.}, title = "{pyLIMA: An Open-source Package for Microlensing Modeling. I. Presentation of the Software and Analysis of Single-lens Models}", journal = {\aj}, keywords = {gravitational lensing: micro}, year = 2017, month = nov, volume = {154}, number = {5}, eid = {203}, pages = {203}, doi = {10.3847/1538-3881/aa911c}, adsurl = {https://ui.adsabs.harvard.edu/abs/2017AJ....154..203B}, adsnote = {Provided by the SAO/NASA Astrophysics Data System} }

Metadata

Release files for pyLIMA 1.9.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyLIMA 1.9.8
File Size Uploaded
pylima-1.9.8.tar.gz 39.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyLIMA 1.9.8
File Interpreter ABI Platform
pylima-1.9.8-py3-none-any.whl Python 3 none any Details

Total release size: 59.0 MB

Release files / pylima-1.9.8.tar.gz

Download URL pylima-1.9.8.tar.gz
Size 39.4 MB
Tags Source
SHA-256 checksum
How to use checksums
fffc7db1ab20cc06342df0bddadc4d5ba089001823c42659b785595ff227995e
BLAKE2b-256 checksum
How to use checksums
22f47d4b72f51b6615a9c3ccab655203f02dd685bf46a4101aabe28318584c81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.0rc1

Release files / pylima-1.9.8-py3-none-any.whl

Download URL pylima-1.9.8-py3-none-any.whl
Size 19.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
ee3cd8baa9fd3ff3dd6b3899ba9982652505d13f0ecd95353df3093d9b816171
BLAKE2b-256 checksum
How to use checksums
f7b3a53514ab560611a4943689b3d89be782d6f446701a3eadd78277e6de15b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.0rc1

Release history Release notifications | RSS feed

This release

1.9.8 This release

2 release files

1.9.7

2 release files

1.9.6

2 release files

1.9.5

2 release files

1.9.3

2 release files

1.9.2

2 release files

1.9

1 release file

0.8.3

1 release file

0.8.2

1 release file

0.8.1

2 release files

0.1.6

1 release file

0.1.5

1 release file

0.1.4

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page