src/measure.py@69002abe5dcb
src/measure.py
Fri, 16 Jan 2026 19:41:32 -0500
- author
- Tuomo Valkonen <tuomov@iki.fi>
- date
- Fri, 16 Jan 2026 19:41:32 -0500
- changeset 2
- 69002abe5dcb
- parent 1
-
a4137aedcb3a
- permissions
- -rw-r--r--
pointsource_algs step length estimation support
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)