Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Build Status Coverage Status DOI

pyLIMA

Authors : Etienne Bachelet, etibachelet@gmail.com Rachel Street, rstreet@lcogt.net Valerio Bozza, valboz@sa.infn.it Martin Norbury, mnorbury@lcogt.net and friends!

pyLIMA is an open source 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 or you can install manually the required libraries Documentation

pyLIMA should now run both on python3 (python2 is not supported anymore, time for update!).

Installation and use

Lot of efforts have been made to have pyLIMA (and VBBinaryLensing) install through pip:

>>> pip install pyLIMA

This new procedure which should avoid the previous installations headaches! Successfully test on various UNIX, MAC and Windows! If you encounter any problems, please contact etibachelet@gmail.com.

You should be able to load pyLIMA as general module :

from pyLIMA import microlmagnification

Examples

Examples can be found in your pyLIMA directory. Look on the documentation to learn how to run it. There is two version for each examples, one using Jupyter notebook (.ipynb) or classic Python file (.py).

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?

What can you do?

pyLIMA is now in beta!! Here is the status of implemented microlensing models:

Model Implemented Examples Fit Method Advice
Point-Source Point Lens (PSPL) Alt text Yes Levenberg-Marquardt (LM)
Finite-Source Point Lens (FSPL) Alt text Yes Levenberg-Marquardt (LM) or Differential Evolution (DE)
Double-Source Point Lens (DSPL) Alt text Yes Differential Evolution (DE)
Uniform-Source Binary Lens (USBL) Alt text No

pyLIMA can also treat Second Order effects :

Second-Order Effects Implemented Examples Fit Method Advice
Annual parallax Alt text No Levenberg-Marquardt (LM)
Terrestrial parallax Alt text No Levenberg-Marquardt (LM)
Space parallax Alt text No Levenberg-Marquardt (LM)
Orbital Motion Alt text No
Xallarap Alt text No

How to contribute?

Want to contribute? Bug detections? Comments? Please email us : etibachelet@gmail.com, rstreet@lcogt.net, valboz@sa.infn.it

About

No description, website, or topics provided.

Resources

License

Packages

No packages published