From 3352b06c1c783344454acb7464e2b0cfb95c9e23 Mon Sep 17 00:00:00 2001 From: rstiskalek Date: Sun, 20 Nov 2022 14:11:25 +0000 Subject: [PATCH] add units --- scripts/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utils.py b/scripts/utils.py index 425ad68..5d88c3c 100644 --- a/scripts/utils.py +++ b/scripts/utils.py @@ -67,7 +67,7 @@ def load_processed(Nsim, Nsnap): d, ra, dec = csiborgtools.units.cartesian_to_radec(data) data = csiborgtools.utils.add_columns( data, [d, ra, dec], ["dist", "ra", "dec"]) - return data + return data, boxunits def load_planck2015(max_comdist=214):