src/measure.py

Wed, 22 Apr 2026 23:46:40 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Wed, 22 Apr 2026 23:46:40 -0500
changeset 6
64bd740b12ed
parent 1
a4137aedcb3a
permissions
-rw-r--r--

Add packaging script, remove alg_tools, measures, and pointsource_pde installation instruction from README.

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