get_fits function

Fit the specified distributions to the given data