Update fit2.py

This commit is contained in:
JakHolzer 2020-10-05 15:27:13 +02:00 committed by GitHub
parent dc7c2afdc8
commit e0227fb7e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -218,7 +218,7 @@ def fitccl(
# ["export_fit"] = False if user wants num. int. value in comm/incomm, otherwise true # ["export_fit"] = False if user wants num. int. value in comm/incomm, otherwise true
d["ratio"] = (result.params["g_amp"].value - int_area.n) / result.params["g_amp"].value d["ratio"] = (result.params["g_amp"].value - int_area.n) / result.params["g_amp"].value
d["int_area"] = int_area d["int_area"] = int_area
d["fit_area"] = fit_area d["fit_area"] = u.ufloat(result.params["g_amp"].value, result.params["g_amp"].stderr)
d["full_report"] = result.fit_report() d["full_report"] = result.fit_report()
d["result"] = result d["result"] = result
d["comps"] = comps d["comps"] = comps