From 5f23c68d84ef050fe9a683dbb3078ebe2cd5fcc5 Mon Sep 17 00:00:00 2001 From: Michelle Burfeind Date: Tue, 16 Dec 2025 14:17:31 +0100 Subject: [PATCH] Pythonfiles --- Parameterschaetzung.py | 2 +- Stochastisches_Modell.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Parameterschaetzung.py b/Parameterschaetzung.py index e555319..9d49a52 100644 --- a/Parameterschaetzung.py +++ b/Parameterschaetzung.py @@ -1,6 +1,6 @@ from Stochastisches_Modell import StochastischesModell -def ausgleichung(A, dl, stoch_modell: StochastischesModell, P): +def ausgleichung(A, dl, stoch_modell: StochastischesModell): Q_ll, P = stoch_modell.berechne_Qll_P() #Kofaktormatrix und P-Matrix N = A.T * P * A #Normalgleichungsmatrix N diff --git a/Stochastisches_Modell.py b/Stochastisches_Modell.py index fc332b5..161bd5a 100644 --- a/Stochastisches_Modell.py +++ b/Stochastisches_Modell.py @@ -18,7 +18,7 @@ class StochastischesModell: unique_groups = sorted({int(g) for g in self.gruppe_beob}) #jede Beobachtungsgruppe wird genau einmal berücksichtigt for g in unique_groups: - if g not in self.sigma0_gruppe: #Fehlende Gruppen mit σ_0j^2 = 1.0 + if g not in self.sigma0_gruppe: #Fehlende Gruppen mit σ_0j^2 = 1.0 self.sigma0_gruppe[g] = 1.0