Modular software for fitting semi-analytical model predictions to observed astronomical transient data.
MOSFiT (Modular Open-Source Fitter for Transients) is a Python 2.7/3.x package that performs maximum likelihood analysis to fit semi-analytical model predictions to observed transient data. Data can be provided by the user, or can be pulled automatically from the Open Supernova Catalog by its name, and thus the code can be used to fit any supernova within that database, or any database that shares the format described in the OSC schema (such as the Open TDE Catalog or the Open Nova Catalog). With the use of an optional upload flag, fits performed by users can then be uploaded back to the aforementioned catalogs.
MOSFiT is available on conda and pip, and can be installed using:
conda install -c conda-forge mosfit
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
For detailed instructions on using MOSFiT, please see our documentation on RTD: