Pythonfiles
This commit is contained in:
@@ -2,12 +2,18 @@ from dataclasses import dataclass
|
|||||||
from typing import Sequence, List, Dict
|
from typing import Sequence, List, Dict
|
||||||
import sympy as sp
|
import sympy as sp
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
import decimal as dec
|
||||||
import matplotlib.pyplot as plt
|
import matplotlib.pyplot as plt
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class Genauigkeitsmaße:
|
class Genauigkeitsmaße:
|
||||||
|
|
||||||
|
def s0apost(v, P, r):
|
||||||
|
s0apost = (dec((v.T * P * v)[0, 0]) / r) ** 0.5
|
||||||
|
return s0apost
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def helmertscher_punktfehler_3D(self, sigma_x: float, sigma_y: float, sigma_z: float) -> float:
|
def helmertscher_punktfehler_3D(self, sigma_x: float, sigma_y: float, sigma_z: float) -> float:
|
||||||
sx = sp.sympify(sigma_x)
|
sx = sp.sympify(sigma_x)
|
||||||
|
|||||||
Reference in New Issue
Block a user