Umstrukturierung

This commit is contained in:
2026-02-05 11:12:17 +01:00
parent 4e2491d967
commit 77c7a6f9ab
3 changed files with 173 additions and 229 deletions

13
utils_angle.py Normal file
View File

@@ -0,0 +1,13 @@
import numpy as np
def arccot(x):
return np.arctan2(1.0, x)
def cot(a):
return np.cos(a) / np.sin(a)
def wrap_to_pi(x):
return (x + np.pi) % (2 * np.pi) - np.pi