Skip to content

Repository files navigation

MOSFiT

Python Version PyPI version Documentation Status ascl:1710.006

MOSFiT (Modular Open-Source Fitter for Transients) is a Python 3 package for fitting, sharing, and estimating the parameters of transients via user-contributed transient models. Data for a transient can be provided by the user in a wide range of formats (JSON, ASCII tables, CDS, LaTeX).

Installation

MOSFiT is available on conda and pip:

conda install -c conda-forge mosfit

or:

pip install mosfit

For a development install, clone the repository and install in editable mode:

git clone https://github.com/guillochon/MOSFiT.git
cd MOSFiT
pip install -e .

Using MOSFiT

mosfit -e ./my_transient.json -m slsn

Fits write products under products/ (including walkers.h5, and optionally chain.h5 if run with -c). For detailed instructions, see the documentation on RTD: https://mosfit.readthedocs.io/

About

Modular Open Source Fitter for Transients

Topics

Resources

Code of conduct

Stars

58 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages