Skip to content

muLAn: MICROlensing Analysis software

License

Notifications You must be signed in to change notification settings

muLAn-project/muLAn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

muLAn: gravitational MICROlensing Analysis Software

Build Status License Build status

Goals

muLAn is an easy-to-use and flexile software to model gravitational microlensing events

Getting Started

Dependencies

This package depends in particular on the following packages:

  • Cython
  • pyAstronomy (version >= 0.10.1, link)
  • GetDist (version >= 0.2.6)

Installation

Install one of the available relesases (recommended), or install the current development version of muLAn package from source:

git clone https://github.com/muLAn-project/muLAn.git

To install muLAn in your user python environment:

pip install --user muLAn/

We however recommend to use an Anaconda user environment:

conda create -n muLAn python=3.8
source activate muLAn
pip install muLAn/

Loading

The python script has to be executed in the directory of the microlensing event to be analyzed:

from muLAn import mulan

muLAn basic commands

  • Launch muLAn (based on setup.ini options, see documentation):
mulan.run()
  • Clean stop (waiting for all current sub-processes to finish):
mulan.stop()
  • Collect all Markov chains and re-order them with best fit first (necessary after unexpected stop, e.g. wall time exceeded):
mulan.sortmodels()

Examples

See the documentation section.

License

This software is licensed under the MIT license. See the LICENSE file for details.