Modular software for fitting semi-analytical model predictions to observed astronomical transient data.


Keywords
astronomy, fitting, monte, carlo, modeling, python, supernovae, transients
License
MIT
Install
pip install mosfit==1.2

Documentation

MOSFiT

Build Status Coverage Status Python Version PyPI version Documentation Status ascl:1710.006 Currently logged-in users in MOSFiT Slack channel

MOSFiT (Modular Open-Source Fitter for Transients) is a Python 2.7/3.x package for fitting, sharing, and estimating the parameters of transients via user-contributed transient models. Data for a transient can either be provided by the user in a wide range of formats (JSON, ASCII tables, CDS, LaTeX), or can be pulled automatically from one of the Open Catalogs (e.g. the Open Supernova Catalog, Open TDE Catalog, and Open Nova Catalog) by its name. With the use of an optional upload flag, fits performed by users can then be uploaded back to the Open Catalogs for the benefit of the transient community.

Installation

MOSFiT is available on conda and pip, and can be installed using:

conda install -c conda-forge mosfit

or:

pip install mosfit

For a development install of MOSFiT, the repository should be cloned from GitHub and then installed into your Python environment via the setup.py script:

git clone https://github.com/guillochon/MOSFiT.git
cd MOSFiT
python setup.py develop

Using MOSFiT

For detailed instructions on using MOSFiT, please see our documentation on RTD: http://mosfit.readthedocs.io/