Skip to content

muLAn-project/muLAn

py3
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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.