helmert 3d
This commit is contained in:
@@ -23,7 +23,7 @@ class Genauigkeitsmaße:
|
||||
|
||||
|
||||
@staticmethod
|
||||
def berechne_s0apost(v: np.ndarray, P: np.ndarray, r: int, print_ausgabe = True) -> float:
|
||||
def berechne_sigma0apost(v: np.ndarray, P: np.ndarray, r: int, print_ausgabe = True) -> float:
|
||||
"""
|
||||
Berechnet die a-posteriori Standardabweichung der Gewichtseinheit s₀.
|
||||
|
||||
@@ -43,10 +43,10 @@ class Genauigkeitsmaße:
|
||||
|
||||
vTPv_matrix = v.T @ P @ v
|
||||
vTPv = vTPv_matrix.item()
|
||||
s0apost = np.sqrt(vTPv / r)
|
||||
sigma0apost = np.sqrt(vTPv / r)
|
||||
if print_ausgabe:
|
||||
print(f"s0 a posteriori beträgt: {s0apost:.4f}")
|
||||
return s0apost
|
||||
print(f"σ̂₀ a posteriori beträgt: {sigma0apost:.4f}")
|
||||
return sigma0apost
|
||||
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user