mirror of
https://gitlab.rlp.net/pgp/pgp1-python-einfuehrung
synced 2024-11-16 13:48:11 +00:00
Fixed ndof
This commit is contained in:
parent
c4512dffa4
commit
006dfbe49c
1 changed files with 6 additions and 6 deletions
|
@ -441,7 +441,7 @@
|
|||
"chi = sum([(fallhoehe2(t, para2[0], para2[1]) - h)**2/dh**2 for t, h, dh in zip(time, height, dheight)])\n",
|
||||
"\n",
|
||||
"print(f'''\n",
|
||||
"Das die Fitgüte Chi²/ndof lautet {chi:.2f}/{len(height)-1}\n",
|
||||
"Das die Fitgüte Chi²/ndof lautet {chi:.2f}/{len(height) - 2}\n",
|
||||
"und der Wert für g ist {para2[0]:.2f} +/- {pcov2[0,0]:.2f} m/s\n",
|
||||
"''')"
|
||||
]
|
||||
|
@ -1354,7 +1354,7 @@
|
|||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3",
|
||||
"display_name": "Python 3 (ipykernel)",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
|
@ -1368,9 +1368,9 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.7.6"
|
||||
"version": "3.9.6"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 2
|
||||
"nbformat_minor": 4
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue