From 0e6a0bfe11a11e8501e5d847a740ba62d42dedeb Mon Sep 17 00:00:00 2001 From: Alexander Pace <alexander.pace@ligo.org> Date: Tue, 8 Jan 2019 11:40:09 -0600 Subject: [PATCH] Update reference_psd.py: fixing more test output --- gstlal/python/reference_psd.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gstlal/python/reference_psd.py b/gstlal/python/reference_psd.py index 07f70a1525..8fabaf52ff 100644 --- a/gstlal/python/reference_psd.py +++ b/gstlal/python/reference_psd.py @@ -272,13 +272,13 @@ class HorizonDistance(object): >>> # compute distance and spectrum for SNR = 25 >>> D, (f, model) = horizon_distance(psd, 25.) >>> "%.4g Mpc" % D - '139 Mpc' + '139.1 Mpc' >>> f array([ 10. , 10.03125, 10.0625 , ..., 1023.9375 , 1023.96875, 1024. ]) >>> model - array([ 8.00942750e-45, 7.95221458e-45, 7.89520620e-45, ..., - 1.11473675e-49, 1.11465176e-49, 1.11456678e-49]) + array([ 8.05622865e-45, 7.99763234e-45, 7.93964216e-45, ..., + 1.11824864e-49, 1.11815656e-49, 1.11806450e-49]) NOTE: -- GitLab