From afc73fe3c5d4a23a42286ae2d4817a0df85044eb Mon Sep 17 00:00:00 2001
From: Chad Hanna <crh184@psu.edu>
Date: Wed, 31 May 2017 04:00:51 -0400
Subject: [PATCH] tree.py: make mass spacing fixed, lower aspect factor

---
 gstlal-ugly/python/tree.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gstlal-ugly/python/tree.py b/gstlal-ugly/python/tree.py
index 78400c1d7b..5a793feeea 100644
--- a/gstlal-ugly/python/tree.py
+++ b/gstlal-ugly/python/tree.py
@@ -110,7 +110,7 @@ class HyperCube(object):
 		self.metric = metric
 		# FIXME don't assume m1 m2 and the spin coords are the coordinates we have here.
 		deltas = 5e-7 * numpy.ones(len(self.center))
-		deltas[0:2] *= self.center[0:2]
+		#deltas[0:2] *= self.center[0:2]**.5
 		deltas[2:] = 1.3e-4
 
 		if self.metric is not None and metric_tensor is None:
@@ -236,7 +236,7 @@ class Node(object):
 		size = self.cube.num_tmps_per_side(mismatch)
 		splitdim = numpy.argmax(size)
 		aspect_ratios = size / min(size)
-		aspect_factor = max(1., numpy.product(aspect_ratios[aspect_ratios>1.67]) / 1.67**len(aspect_ratios[aspect_ratios>1.67]))
+		aspect_factor = max(1., numpy.product(aspect_ratios[aspect_ratios>1.5]) / 1.5**len(aspect_ratios[aspect_ratios>1.5]))
 		if numpy.isnan(aspect_factor):
 			aspect_factor = 1.0
 		aspect_ratio = max(aspect_ratios)
-- 
GitLab