Merge branch 'develop' into feature/corrfits

This commit is contained in:
Simon Kuberski 2021-11-15 16:40:05 +01:00
commit 8155037b38
8 changed files with 505 additions and 184 deletions

View file

@ -21,7 +21,7 @@ class Fit_result(Sequence):
----------
fit_parameters : list
results for the individual fit parameters,
also accesible via indices.
also accessible via indices.
"""
def __init__(self):
@ -456,7 +456,7 @@ def _standard_fit(x, y, func, silent=False, **kwargs):
raise Exception('x and y input have to have the same length')
if len(x.shape) > 2:
raise Exception('Unkown format for x values')
raise Exception('Unknown format for x values')
if not callable(func):
raise TypeError('func has to be a function.')