To install the current development version of the microlensing package from source:
$ git clone https://github.com/ArnaudCassan/microlensing.git
$ pip install --user microlensing/
(you may not need the --user
option)
Compute the binary-lens magnification for a: point-source (A0), quadrupole (A2) and Hexadecapole (A4) approximations using the method by Cassan (2017).
from microlensing import multipoles
multipoles.example()
Compute the Q_(p-n,n) factors (p>=3) from Cassan (2017). This function is currently working for python 2 only.
from microlensing import Rkp
Rkp.Q(3)
This software is licensed under the MIT License. See the LICENSE file for details.