https://github.com/amberlee2427/mulensmodel

Microlensing Modelling package

https://github.com/amberlee2427/mulensmodel

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (17.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Microlensing Modelling package

Basic Info
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Fork of rpoleski/MulensModel
Created 12 months ago · Last pushed 11 months ago

https://github.com/AmberLee2427/MulensModel/blob/master/

# MulensModel

MulensModel is package for modeling microlensing (or μ-lensing) events.
[**Detailed documentation: https://rpoleski.github.io/MulensModel/**](https://rpoleski.github.io/MulensModel/) [Latest release: 3.2.0](https://github.com/rpoleski/MulensModel/releases/latest) and we're working on further developing the code. MulensModel can generate a microlensing light curve for a given set of microlensing parameters, fit that light curve to some data, and return a chi2 value. That chi2 (and its gradient in some cases) can then be input into an arbitrary likelihood function to find the best-fit parameters. If you want to learn more about microlensing, please visit [Microlensing Source website](http://microlensing-source.org/). Currently, MulensModel supports: * Lens Systems: point lens or binary lens. Shear and convergence allowed for both point and binary lenses. * Source Stars: single source, binary source, or even larger number of sources. * Effects: finite source (1-parameter), parallax (satellite & annual), binary lens orbital motion, xallarap effect (**new - with both sources luminous**), different parametrizations of microlensing models. Need more? Open [an issue](https://github.com/rpoleski/MulensModel/issues), start [a discussion](https://github.com/rpoleski/MulensModel/discussions), or send us an e-mail. ![MulensModel logo](documents/logo/logoMM_crop_4_372x260.png) ## Acknowledgements Are you using MulensModel for scientific research? Please give us credit by citing the [paper published in "Astronomy and Computing"](https://ui.adsabs.harvard.edu/abs/2019A%26C....26...35P/abstract) and [ASCL reference](http://ascl.net/1803.006). For arXiv version please see [link](https://arxiv.org/abs/1803.01003). You should also cite relevant papers for algorithms used. In a typical run that uses binary lenses these will be [Bozza (2010)](https://ui.adsabs.harvard.edu/abs/2010MNRAS.408.2188B/abstract) and [Skowron & Gould (2012)](https://ui.adsabs.harvard.edu/abs/2012arXiv1203.1034S/abstract). [HERE](documents/papers_to_cite.md) is a list of papers to cite for various algorithms used in MulensModel. We also thank other people who helped in MulensModel development - please see list in [AUTHORS.md file](AUTHORS.md). ## Examples and tutorials We have more than a dozen of examples - starting from very simple ones (like plotting a model) to very advanced (like fitting a binary lens model with finite source effect). Please see: * [**a list of examples and tutorials**](documents/examples_list.md), * [**description of all microlensing parameters used in MulensModel**](documents/parameter_names.pdf), * [**methods used to calculate magnification in MulensModel**](documents/magnification_methods.pdf), and * [**high-level fitting example**](examples/example_16). The full documentation of API is at [https://rpoleski.github.io/MulensModel/](https://rpoleski.github.io/MulensModel/). ## How to install? The easiest way is to run: ``` pip install MulensModel ``` which will download all files and also install all dependencies (using the [PyPI website](https://pypi.org/project/MulensModel/)). If the above method doesn't work or you would like to see other possibilities, then please see [the install file](documents/install.md). ## Contributing If you want to contribute to MulensModel, then please see [this file](CONTRIBUTING.md). --- [![astropy](http://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat)](http://www.astropy.org/) [![PyPI version shields.io](https://img.shields.io/pypi/v/MulensModel.svg)](https://pypi.python.org/pypi/MulensModel/) [![GitHub stars](https://badgen.net/github/stars/rpoleski/MulensModel)](https://GitHub.com/rpoleski/MulensModel/stargazers/) [![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/) [![Poleski & Yee 2019](https://img.shields.io/badge/ADS-Poleski%20%26%20Yee%202019-brightgreen.svg)](https://ui.adsabs.harvard.edu/abs/2019A%26C....26...35P/abstract) [![astro-ph/1803.01003](https://img.shields.io/badge/astro--ph-1803.01003-brightgreen.svg)](https://arxiv.org/abs/1803.01003) [![EMAC](https://img.shields.io/badge/EMAC-2207--125-blue)](https://emac.gsfc.nasa.gov?cid=2207-125) ![PyPI - Downloads](https://img.shields.io/pypi/dm/MulensModel) ![example workflow](https://github.com/rpoleski/MulensModel/actions/workflows/python-app.yml/badge.svg) file revised Jun 2025

Owner

  • Name: Amber
  • Login: AmberLee2427
  • Kind: user
  • Location: New Zealand

GitHub Events

Total
  • Push event: 1
  • Create event: 1
Last Year
  • Push event: 1
  • Create event: 1