src/measure.py

changeset 1
a4137aedcb3a
equal deleted inserted replaced
0:7ec1cfe19a24 1:a4137aedcb3a
1 import numpy as np
2
3
4 class Measure:
5 def __init__(self, points, alphas):
6 self.points = map(np.array, points)
7 self.alphas = alphas
8
9 def __iter__(self):
10 return zip(self.points, self.alphas)

mercurial