Funktionales Modell Tachymeter überarbeitet
This commit is contained in:
106
Campusnetz.ipynb
106
Campusnetz.ipynb
@@ -6,8 +6,8 @@
|
||||
"metadata": {
|
||||
"collapsed": true,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-12-19T13:36:19.983612Z",
|
||||
"start_time": "2025-12-19T13:36:18.610653Z"
|
||||
"end_time": "2025-12-22T10:07:23.211781Z",
|
||||
"start_time": "2025-12-22T10:07:20.255127Z"
|
||||
}
|
||||
},
|
||||
"source": [
|
||||
@@ -31,8 +31,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-12-19T13:36:20.001465Z",
|
||||
"start_time": "2025-12-19T13:36:19.992585Z"
|
||||
"end_time": "2025-12-22T10:07:23.224578Z",
|
||||
"start_time": "2025-12-22T10:07:23.219647Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@@ -54,8 +54,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-12-19T13:36:20.015472Z",
|
||||
"start_time": "2025-12-19T13:36:20.008920Z"
|
||||
"end_time": "2025-12-22T10:07:23.237444Z",
|
||||
"start_time": "2025-12-22T10:07:23.230809Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@@ -79,8 +79,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-12-19T13:36:20.037412Z",
|
||||
"start_time": "2025-12-19T13:36:20.023272Z"
|
||||
"end_time": "2025-12-22T10:07:23.266386Z",
|
||||
"start_time": "2025-12-22T10:07:23.253370Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@@ -282,8 +282,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-12-19T13:36:20.063050Z",
|
||||
"start_time": "2025-12-19T13:36:20.049616Z"
|
||||
"end_time": "2025-12-22T10:07:23.288267Z",
|
||||
"start_time": "2025-12-22T10:07:23.274198Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@@ -485,8 +485,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-12-19T13:36:20.088998Z",
|
||||
"start_time": "2025-12-19T13:36:20.081173Z"
|
||||
"end_time": "2025-12-22T10:07:23.302330Z",
|
||||
"start_time": "2025-12-22T10:07:23.295473Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@@ -546,8 +546,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-12-19T13:36:41.310320Z",
|
||||
"start_time": "2025-12-19T13:36:20.096648Z"
|
||||
"end_time": "2025-12-22T10:07:45.963719Z",
|
||||
"start_time": "2025-12-22T10:07:23.311829Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@@ -823,8 +823,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-12-19T13:36:41.568393Z",
|
||||
"start_time": "2025-12-19T13:36:41.548825Z"
|
||||
"end_time": "2025-12-22T10:07:46.235238Z",
|
||||
"start_time": "2025-12-22T10:07:46.214720Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@@ -850,8 +850,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-12-19T13:36:41.584869Z",
|
||||
"start_time": "2025-12-19T13:36:41.575869Z"
|
||||
"end_time": "2025-12-22T10:07:46.253720Z",
|
||||
"start_time": "2025-12-22T10:07:46.248851Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@@ -868,8 +868,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-12-19T13:36:41.599426Z",
|
||||
"start_time": "2025-12-19T13:36:41.590504Z"
|
||||
"end_time": "2025-12-22T10:07:46.268333Z",
|
||||
"start_time": "2025-12-22T10:07:46.260061Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@@ -908,8 +908,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-12-19T13:36:41.613049Z",
|
||||
"start_time": "2025-12-19T13:36:41.606119Z"
|
||||
"end_time": "2025-12-22T10:07:46.288507Z",
|
||||
"start_time": "2025-12-22T10:07:46.280896Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@@ -924,7 +924,8 @@
|
||||
"importlib.reload(Berechnungen)\n",
|
||||
"\n",
|
||||
"db_zugriff.set_genauigkeiten(1, \"Tachymeter_Richtung\", 0.15)\n",
|
||||
"db_zugriff.set_genauigkeiten(1, \"Tachymeter_Strecke\", 0.8, 1)"
|
||||
"db_zugriff.set_genauigkeiten(1, \"Tachymeter_Strecke\", 0.8, 1)\n",
|
||||
"db_zugriff.set_genauigkeiten(1, \"Tachymeter_Zenitwinkel\", 0.15)"
|
||||
],
|
||||
"id": "97e24245ce3398a2",
|
||||
"outputs": [
|
||||
@@ -932,6 +933,7 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Die Genauigkeitsangabe ist bereits in der Datenbank vorhanden.\n",
|
||||
"Die Genauigkeitsangabe ist bereits in der Datenbank vorhanden.\n",
|
||||
"Die Genauigkeitsangabe ist bereits in der Datenbank vorhanden.\n"
|
||||
]
|
||||
@@ -942,8 +944,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-12-19T13:36:41.626657Z",
|
||||
"start_time": "2025-12-19T13:36:41.621778Z"
|
||||
"end_time": "2025-12-22T10:07:46.304835Z",
|
||||
"start_time": "2025-12-22T10:07:46.299673Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@@ -971,8 +973,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-12-19T13:37:43.474123Z",
|
||||
"start_time": "2025-12-19T13:36:41.637138Z"
|
||||
"end_time": "2025-12-22T10:10:53.583754Z",
|
||||
"start_time": "2025-12-22T10:07:46.310892Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@@ -1001,8 +1003,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-12-19T13:37:58.126150Z",
|
||||
"start_time": "2025-12-19T13:37:54.542775Z"
|
||||
"end_time": "2025-12-22T10:12:23.876137Z",
|
||||
"start_time": "2025-12-22T10:12:14.901931Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@@ -1021,8 +1023,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-12-19T13:37:58.304793Z",
|
||||
"start_time": "2025-12-19T13:37:58.162944Z"
|
||||
"end_time": "2025-12-22T10:12:23.994112Z",
|
||||
"start_time": "2025-12-22T10:12:23.882151Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@@ -1039,8 +1041,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-12-19T13:37:58.845527Z",
|
||||
"start_time": "2025-12-19T13:37:58.310652Z"
|
||||
"end_time": "2025-12-22T10:12:28.822197Z",
|
||||
"start_time": "2025-12-22T10:12:24.000094Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@@ -1057,8 +1059,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-12-19T13:37:59.060600Z",
|
||||
"start_time": "2025-12-19T13:37:58.852417Z"
|
||||
"end_time": "2025-12-22T10:14:30.175033Z",
|
||||
"start_time": "2025-12-22T10:14:29.065321Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@@ -1075,8 +1077,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-12-19T13:38:24.915807Z",
|
||||
"start_time": "2025-12-19T13:37:59.069210Z"
|
||||
"end_time": "2025-12-22T10:15:30.472022Z",
|
||||
"start_time": "2025-12-22T10:14:30.181226Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@@ -1095,8 +1097,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-12-19T13:39:15.843846Z",
|
||||
"start_time": "2025-12-19T13:39:15.841384Z"
|
||||
"end_time": "2025-12-22T10:18:34.211274Z",
|
||||
"start_time": "2025-12-22T10:18:34.208854Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@@ -1108,8 +1110,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-12-19T13:39:15.851211Z",
|
||||
"start_time": "2025-12-19T13:39:15.849041Z"
|
||||
"end_time": "2025-12-22T10:18:34.220080Z",
|
||||
"start_time": "2025-12-22T10:18:34.217569Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@@ -1121,8 +1123,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-12-19T13:39:15.858171Z",
|
||||
"start_time": "2025-12-19T13:39:15.856245Z"
|
||||
"end_time": "2025-12-22T10:18:34.229042Z",
|
||||
"start_time": "2025-12-22T10:18:34.225697Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@@ -1134,8 +1136,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-12-19T13:39:16.745343Z",
|
||||
"start_time": "2025-12-19T13:39:15.863782Z"
|
||||
"end_time": "2025-12-22T10:18:35.359219Z",
|
||||
"start_time": "2025-12-22T10:18:34.235596Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@@ -1157,19 +1159,15 @@
|
||||
"id": "f53849ee4757d5e8",
|
||||
"outputs": [
|
||||
{
|
||||
"ename": "ShapeError",
|
||||
"evalue": "Matrix size mismatch: (1752, 1) + (876, 1).",
|
||||
"ename": "NameError",
|
||||
"evalue": "name 'liste_beobachtungsvektor_symbolisch' is not defined",
|
||||
"output_type": "error",
|
||||
"traceback": [
|
||||
"\u001B[31m---------------------------------------------------------------------------\u001B[39m",
|
||||
"\u001B[31mShapeError\u001B[39m Traceback (most recent call last)",
|
||||
"\u001B[31mNameError\u001B[39m Traceback (most recent call last)",
|
||||
"\u001B[36mCell\u001B[39m\u001B[36m \u001B[39m\u001B[32mIn[19]\u001B[39m\u001B[32m, line 13\u001B[39m\n\u001B[32m 8\u001B[39m importlib.reload(Export)\n\u001B[32m 11\u001B[39m stoch_modell = Stochastisches_Modell.StochastischesModell(A_matrix_numerisch_iteration0.rows)\n\u001B[32m---> \u001B[39m\u001B[32m13\u001B[39m dx = Parameterschaetzung.ausgleichung_global(A_matrix_numerisch_iteration0, \u001B[43mfm\u001B[49m\u001B[43m.\u001B[49m\u001B[43mberechnung_dl\u001B[49m\u001B[43m(\u001B[49m\u001B[43mbeobachtungsvektor_numerisch\u001B[49m\u001B[43m,\u001B[49m\u001B[43m \u001B[49m\u001B[43mbeobachtungsvektor_naeherung_numerisch_iteration0\u001B[49m\u001B[43m)\u001B[49m, stoch_modell)[\u001B[32m1\u001B[39m]\n",
|
||||
"\u001B[36mFile \u001B[39m\u001B[32m~\\Desktop\\Masterprojekt\\Funktionales_Modell.py:286\u001B[39m, in \u001B[36mFunktionalesModell.berechnung_dl\u001B[39m\u001B[34m(self, beobachtungsvektor_numerisch, beobachtungsvektor_naeherung_numerisch)\u001B[39m\n\u001B[32m 285\u001B[39m \u001B[38;5;28;01mdef\u001B[39;00m\u001B[38;5;250m \u001B[39m\u001B[34mberechnung_dl\u001B[39m(\u001B[38;5;28mself\u001B[39m, beobachtungsvektor_numerisch, beobachtungsvektor_naeherung_numerisch):\n\u001B[32m--> \u001B[39m\u001B[32m286\u001B[39m dl = \u001B[43mbeobachtungsvektor_numerisch\u001B[49m\u001B[43m \u001B[49m\u001B[43m-\u001B[49m\u001B[43m \u001B[49m\u001B[43mbeobachtungsvektor_naeherung_numerisch\u001B[49m\n\u001B[32m 287\u001B[39m \u001B[38;5;28;01mreturn\u001B[39;00m dl\n",
|
||||
"\u001B[36mFile \u001B[39m\u001B[32m~\\Desktop\\Masterprojekt\\.venv\\Lib\\site-packages\\sympy\\core\\decorators.py:118\u001B[39m, in \u001B[36mcall_highest_priority.<locals>.priority_decorator.<locals>.binary_op_wrapper\u001B[39m\u001B[34m(self, other)\u001B[39m\n\u001B[32m 116\u001B[39m \u001B[38;5;28;01mif\u001B[39;00m f \u001B[38;5;129;01mis\u001B[39;00m \u001B[38;5;129;01mnot\u001B[39;00m \u001B[38;5;28;01mNone\u001B[39;00m:\n\u001B[32m 117\u001B[39m \u001B[38;5;28;01mreturn\u001B[39;00m f(\u001B[38;5;28mself\u001B[39m)\n\u001B[32m--> \u001B[39m\u001B[32m118\u001B[39m \u001B[38;5;28;01mreturn\u001B[39;00m \u001B[43mfunc\u001B[49m\u001B[43m(\u001B[49m\u001B[38;5;28;43mself\u001B[39;49m\u001B[43m,\u001B[49m\u001B[43m \u001B[49m\u001B[43mother\u001B[49m\u001B[43m)\u001B[49m\n",
|
||||
"\u001B[36mFile \u001B[39m\u001B[32m~\\Desktop\\Masterprojekt\\.venv\\Lib\\site-packages\\sympy\\matrices\\matrixbase.py:3045\u001B[39m, in \u001B[36mMatrixBase.__sub__\u001B[39m\u001B[34m(self, a)\u001B[39m\n\u001B[32m 3043\u001B[39m \u001B[38;5;129m@call_highest_priority\u001B[39m(\u001B[33m'\u001B[39m\u001B[33m__rsub__\u001B[39m\u001B[33m'\u001B[39m)\n\u001B[32m 3044\u001B[39m \u001B[38;5;28;01mdef\u001B[39;00m\u001B[38;5;250m \u001B[39m\u001B[34m__sub__\u001B[39m(\u001B[38;5;28mself\u001B[39m, a):\n\u001B[32m-> \u001B[39m\u001B[32m3045\u001B[39m \u001B[38;5;28;01mreturn\u001B[39;00m \u001B[38;5;28;43mself\u001B[39;49m\u001B[43m \u001B[49m\u001B[43m+\u001B[49m\u001B[43m \u001B[49m\u001B[43m(\u001B[49m\u001B[43m-\u001B[49m\u001B[43ma\u001B[49m\u001B[43m)\u001B[49m\n",
|
||||
"\u001B[36mFile \u001B[39m\u001B[32m~\\Desktop\\Masterprojekt\\.venv\\Lib\\site-packages\\sympy\\core\\decorators.py:118\u001B[39m, in \u001B[36mcall_highest_priority.<locals>.priority_decorator.<locals>.binary_op_wrapper\u001B[39m\u001B[34m(self, other)\u001B[39m\n\u001B[32m 116\u001B[39m \u001B[38;5;28;01mif\u001B[39;00m f \u001B[38;5;129;01mis\u001B[39;00m \u001B[38;5;129;01mnot\u001B[39;00m \u001B[38;5;28;01mNone\u001B[39;00m:\n\u001B[32m 117\u001B[39m \u001B[38;5;28;01mreturn\u001B[39;00m f(\u001B[38;5;28mself\u001B[39m)\n\u001B[32m--> \u001B[39m\u001B[32m118\u001B[39m \u001B[38;5;28;01mreturn\u001B[39;00m \u001B[43mfunc\u001B[49m\u001B[43m(\u001B[49m\u001B[38;5;28;43mself\u001B[39;49m\u001B[43m,\u001B[49m\u001B[43m \u001B[49m\u001B[43mother\u001B[49m\u001B[43m)\u001B[49m\n",
|
||||
"\u001B[36mFile \u001B[39m\u001B[32m~\\Desktop\\Masterprojekt\\.venv\\Lib\\site-packages\\sympy\\matrices\\matrixbase.py:2765\u001B[39m, in \u001B[36mMatrixBase.__add__\u001B[39m\u001B[34m(self, other)\u001B[39m\n\u001B[32m 2762\u001B[39m \u001B[38;5;28;01mreturn\u001B[39;00m \u001B[38;5;28mNotImplemented\u001B[39m\n\u001B[32m 2764\u001B[39m \u001B[38;5;28;01mif\u001B[39;00m \u001B[38;5;28mself\u001B[39m.shape != other.shape:\n\u001B[32m-> \u001B[39m\u001B[32m2765\u001B[39m \u001B[38;5;28;01mraise\u001B[39;00m ShapeError(\u001B[33mf\u001B[39m\u001B[33m\"\u001B[39m\u001B[33mMatrix size mismatch: \u001B[39m\u001B[38;5;132;01m{\u001B[39;00m\u001B[38;5;28mself\u001B[39m.shape\u001B[38;5;132;01m}\u001B[39;00m\u001B[33m + \u001B[39m\u001B[38;5;132;01m{\u001B[39;00mother.shape\u001B[38;5;132;01m}\u001B[39;00m\u001B[33m.\u001B[39m\u001B[33m\"\u001B[39m)\n\u001B[32m 2767\u001B[39m \u001B[38;5;66;03m# Unify matrix types\u001B[39;00m\n\u001B[32m 2768\u001B[39m a, b = \u001B[38;5;28mself\u001B[39m, other\n",
|
||||
"\u001B[31mShapeError\u001B[39m: Matrix size mismatch: (1752, 1) + (876, 1)."
|
||||
"\u001B[36mFile \u001B[39m\u001B[32m~\\Desktop\\Masterprojekt\\Funktionales_Modell.py:636\u001B[39m, in \u001B[36mFunktionalesModell.berechnung_dl\u001B[39m\u001B[34m(self, beobachtungsvektor_numerisch, beobachtungsvektor_naeherung_numerisch)\u001B[39m\n\u001B[32m 634\u001B[39m \u001B[38;5;28;01mdef\u001B[39;00m\u001B[38;5;250m \u001B[39m\u001B[34mberechnung_dl\u001B[39m(\u001B[38;5;28mself\u001B[39m, beobachtungsvektor_numerisch, beobachtungsvektor_naeherung_numerisch):\n\u001B[32m 635\u001B[39m dl = beobachtungsvektor_numerisch - beobachtungsvektor_naeherung_numerisch\n\u001B[32m--> \u001B[39m\u001B[32m636\u001B[39m \u001B[38;5;28;01mfor\u001B[39;00m i, name \u001B[38;5;129;01min\u001B[39;00m \u001B[38;5;28menumerate\u001B[39m(\u001B[43mliste_beobachtungsvektor_symbolisch\u001B[49m):\n\u001B[32m 637\u001B[39m \u001B[38;5;28;01mif\u001B[39;00m \u001B[33m\"\u001B[39m\u001B[33m_R_\u001B[39m\u001B[33m\"\u001B[39m \u001B[38;5;129;01min\u001B[39;00m name:\n\u001B[32m 638\u001B[39m dl[i] = sp.atan2(sp.sin(dl[i]), sp.cos(dl[i])) \u001B[38;5;66;03m# wrap auf (-pi, pi]\u001B[39;00m\n",
|
||||
"\u001B[31mNameError\u001B[39m: name 'liste_beobachtungsvektor_symbolisch' is not defined"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user