mrpy.fitting.fit_sample

Routines that implement fits directly to samples of masses (or other values drawn from a TGGD).

For fits to binned data, see :module:`mrpy.fit_curve`. For the definition of the likelihood involved in the fits within this module see mrpy.likelihoods.PerObjLike.

This module also provides pre-defined prior functions, specifically, the normal_prior.

Functions

normal_prior(p, mean, sd) A normal prior on each parameter.

Classes

SimFit(m[, nm, mmin, V, hs_bounds, …]) Per-object fits.