SPATZ migration + proper directory structure

This commit is contained in:
dario
2023-12-10 14:11:54 +01:00
parent f819b24bfa
commit c60629b4c9
24 changed files with 938 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import numpy as np
from numpy.typing import ArrayLike
from typing import Any, Tuple
class Transform:
def apply(self, t: float, x: np.array):
y = self(t, x)
assert x.shape == y.shape, "Transform has to maintain the array's shape."
return y