From 059f6ec9ead0c34004c98af0ef58565b2d410e93 Mon Sep 17 00:00:00 2001 From: Shivesh Mandalia Date: Sun, 1 Mar 2020 23:23:21 +0000 Subject: Add example notebooks to show how to use GolemFlavor --- scripts/mc_x.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/mc_x.py') diff --git a/scripts/mc_x.py b/scripts/mc_x.py index 16c9c3d..e7c8b57 100644 --- a/scripts/mc_x.py +++ b/scripts/mc_x.py @@ -184,7 +184,7 @@ def main(): ) nsamples = len(samples) - srcs = [fr_utils.normalise_fr((x, 1-x, 0)) for x in samples.T[-1]] + srcs = [fr_utils.normalize_fr((x, 1-x, 0)) for x in samples.T[-1]] mmxs = map(fr_utils.angles_to_u, samples.T[:-1].T) frs = np.array( [fr_utils.u_to_fr(srcs[i], mmxs[i]) for i in range(nsamples)], -- cgit v1.2.3