mrpy.fitting.fit_curve

Routines that implement simple least-squares fits directly to dn/dm without errors. Typically used for fitting directly to theoretical functions from EPS theory.

For more involved fits to non-binned data, see :module:`mrpy.fit_perobj`. For the definition of the likelihood involved in the fits within this module see mrpy.likelihoods.CurveLike.

Functions

get_fit_curve(data_m, data_mf, x0[, bounds, …]) Perform basic LSQ fitting of the MRP curve to the given curve.
get_fit_expected(data_m, data_mf, x0[, …]) Generate the expected MLE of MRP parameters, given a mass function from which the samples should be drawn.