Authors : Etienne Bachelet, [email protected] Rachel Street, [email protected] Valerio Bozza, [email protected] Martin Norbury, [email protected] 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.
Regular C/C++ and fortran compilers are required for packages installation
You also need SWIG
You need pip or you can install manually the required libraries Documentation
pyLIMA should now run both on python2 and python3 !
Clone the repository or download as a ZIP file. Then
python setup.py build_ext --build-lib=./pyLIMA/subroutines/VBBinaryLensingLibrary (and, not mandatory, python setup.py clean --all)
The install the required libraries with
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 [email protected].
Please use pyLIMA as a external module, by doing a global import :
import sys
sys.path.append(your-path-to-pyLIMA-directory)
from pyLIMA import whatyouneed
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?
Want to contribute? Bug detections? Comments? Please email us : [email protected], [email protected], [email protected]