src/measure.py

changeset 1
a4137aedcb3a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/measure.py	Thu Feb 26 09:32:12 2026 -0500
@@ -0,0 +1,10 @@
+import numpy as np
+
+
+class Measure:
+    def __init__(self, points, alphas):
+        self.points = map(np.array, points)
+        self.alphas = alphas
+
+    def __iter__(self):
+        return zip(self.points, self.alphas)

mercurial