First fully working 2d fit for all samples
Implementing fit into modelfunction
This commit is contained in:
parent
823c4747e2
commit
863272b97e
@ -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(
|
||||
|
@ -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
2475
Joschka/Fitting_Data_exp_bec.ipynb
Normal file
2475
Joschka/Fitting_Data_exp_bec.ipynb
Normal file
File diff suppressed because one or more lines are too long
2021
Joschka/Fitting_Data_exp_thermal.ipynb
Normal file
2021
Joschka/Fitting_Data_exp_thermal.ipynb
Normal file
File diff suppressed because one or more lines are too long
1098
Joschka/Implementing model.ipynb
Normal file
1098
Joschka/Implementing model.ipynb
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user