Pythonfiles
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
from Stochastisches_Modell import StochastischesModell
|
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
|
Q_ll, P = stoch_modell.berechne_Qll_P() #Kofaktormatrix und P-Matrix
|
||||||
N = A.T * P * A #Normalgleichungsmatrix N
|
N = A.T * P * A #Normalgleichungsmatrix N
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ class StochastischesModell:
|
|||||||
|
|
||||||
unique_groups = sorted({int(g) for g in self.gruppe_beob}) #jede Beobachtungsgruppe wird genau einmal berücksichtigt
|
unique_groups = sorted({int(g) for g in self.gruppe_beob}) #jede Beobachtungsgruppe wird genau einmal berücksichtigt
|
||||||
for g in unique_groups:
|
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
|
self.sigma0_gruppe[g] = 1.0
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user