No description, website, or topics provided.
Clone or download
Latest commit 870d23f Nov 9, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc Merged recent updates Jul 27, 2018
examples Upgrade ;atex table Oct 8, 2018
pyLIMA Fix tests Nov 9, 2018
.gitignore removing jupyter notebook checkpoints Feb 1, 2017
.travis.yml microlcaustics python3 friendly Aug 30, 2017
LICENSE Rename license to be standard uppercase. Jul 1, 2016
MANIFEST.in Add MANIFEST.in Nov 1, 2017
README.md Update fornt page*3 Jul 27, 2018
requirements.txt Fix mpi+dill bugs Sep 26, 2018
setup.py Branch for VBB2.0 implementation Mar 29, 2018

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

Regular C/C++ and fortran compilers are required for packages installation

You need pip or you can install manually the required libraries Documentation

pyLIMA should now run both on python2 and python3 !

Installation and use

Clone the repository or download as a ZIP file. Then

python setup.py install (--user if needed)

pip install -r requirements.txt

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