207-noncomplex-fits #244
@ -469,7 +469,6 @@ class FitRoutine(object):
|
||||
corr: np.ndarray = None,
|
||||
partial_corr: np.ndarray = None,
|
||||
):
|
||||
print(data.complex_type)
|
||||
if err is None:
|
||||
err = [0] * len(p)
|
||||
|
||||
@ -523,6 +522,7 @@ class FitRoutine(object):
|
||||
|
||||
return self.result
|
||||
|
||||
|
||||
def _calc_error(jac, chi, nobs, nvars):
|
||||
# copy of scipy.curve_fit to calculate covariance
|
||||
# noinspection PyTupleAssignmentBalance
|
||||
|
@ -99,7 +99,6 @@ class FitResultCreator:
|
||||
fun_kwargs['complex_mode'] = 0
|
||||
|
||||
_y = check_complex(model.func(p_final, _x, **fun_kwargs), actual_mode, data_mode)
|
||||
print(_y)
|
||||
|
||||
fun_kwargs['complex_mode'] = actual_mode
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user