First fully working 2d fit for all samples

Implementing fit into modelfunction
This commit is contained in:
Joschka 2023-08-02 19:01:35 +02:00
parent 823c4747e2
commit 863272b97e
6 changed files with 8038 additions and 501 deletions

View File

@ -33,7 +33,7 @@ def fft_nutou(dataArray, modeNum, **kwargs):
print(freqUpLim)
time = time / time.max() * 2 * np.pi
time = time / time.max_val() * 2 * np.pi
# calculate the transform
res = xr.DataArray(

View File

@ -518,10 +518,10 @@ class FitAnalyser():
res += "expr=\"" + params[key].expr +"\")"
else:
res += "value=" + f'{params[key].value:3g}' + ", "
if str(params[key].max)=="inf":
if str(params[key].max_val)== "inf":
res += "max=np.inf, "
else:
res += "max=" + f'{params[key].max:3g}' + ", "
res += "max=" + f'{params[key].max_val:3g}' + ", "
if str(params[key].min)=="-inf":
res += "min=-np.inf, "
else:

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long