add units

This commit is contained in:
rstiskalek 2022-11-20 14:11:25 +00:00
parent 1d9789c08e
commit 3352b06c1c

View file

@ -67,7 +67,7 @@ def load_processed(Nsim, Nsnap):
d, ra, dec = csiborgtools.units.cartesian_to_radec(data) d, ra, dec = csiborgtools.units.cartesian_to_radec(data)
data = csiborgtools.utils.add_columns( data = csiborgtools.utils.add_columns(
data, [d, ra, dec], ["dist", "ra", "dec"]) data, [d, ra, dec], ["dist", "ra", "dec"])
return data return data, boxunits
def load_planck2015(max_comdist=214): def load_planck2015(max_comdist=214):