comparison: src/measure.py
src/measure.py
- changeset 1
- a4137aedcb3a
equal
deleted
inserted
replaced
| |
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) |